To be exactly right about something; to identify or express something with perfect accuracy.
This phrase comes from carpentry, where hitting a nail squarely on its head drives it in efficiently and effectively. Missing the nail head can bend the nail or damage the wood. The metaphor extended to describe precise accuracy in speech or judgment by the 16th century.
Try Another Word