Recommended · for some experience
Arduino Tutorial: Tachometer (RPM Counter)
Why people recommend it
InterlinkKnight's Arduino tachometer walkthrough, whose measurement code people reuse for engine and vehicle speed projects after adapting the sensor and pulse maths.
Watch for: Uses an optical sensor; vehicles may need hall effect input