From Longman Dictionary of Contemporary Englishhit the nail on the headhit the nail on the headCORRECT informal used to say that what someone has said is exactly right You’ve hit the nail on the head there, David. → hit
Examples from the Corpus
hit the nail on the head• If Jack had been trying to find a way to impress Polly he had hit the nail on the head.• My friend, you have hit the nail on the head.• She might dislike Piers Morrison, but he had a knack of hitting the nail on the head.