It depends on the brand, make, and model of the vehicle in question. It will probably be found close to the engine, near the body frame. If it is not there refer to your manual or call the dealership.
The location of the chassis number varies between make and models of different vehicles. Some can be found near the vin while others would be under the hood near the engine. I would recommend checking the owners manual to the vehicle in which you are searching for the number in order to ensure finding it quick.
The chassis number is usually located close by the engine block or the car frame closest to the engine. Your car manual can state the location or an online manual. Calling a dealer specifically for your type of car will give you the location as well. Once located, write the information down for future use.