To be certain, you should:
* Consult your owner's manual: This is the best source for the exact location in your specific vehicle.
* Look for a large, rectangular black box with numerous wiring harnesses connected to it: This is a good visual indicator.
* Use a wiring diagram: A wiring diagram for your specific year and engine will show the location of the ECM. You can often find these online through automotive repair resources or by searching for your specific vehicle's year, make, model, and engine.
Remember to be cautious when working near the engine compartment; the engine and various components will still be hot even after driving a short distance.