How-to guides · 2026-11-27
Where in the ECU is the info for fuel tank capacity.
Stefan Bogdanescu
Founder & Senior Architect
How to Locate and Verify Fuel Tank Capacity Data in a Vehicle ECU
You will identify the location of the fuel tank capacity parameter within the Engine Control Unit (ECU) data to ensure accurate distance-to-empty calculations after installing an aftermarket or long-range fuel tank. This task is critical for vehicles where the ECU uses this value to calculate fuel consumption and remaining range, particularly in models like the Mitsubishi Triton/L200 with 4n15 engines where standard calibration may not match modified hardware.
What You'll Need
- ECU Data File: A dump or export of the current ECU parameters (e.g., via a scanner tool that supports data logging or file export).
- Scanner Tool: A diagnostic tool capable of reading ECU memory and, if possible, writing to specific parameters.
- Reference Manual: The vehicle-specific service manual or ECU calibration documentation for your exact model year and engine variant.
- New Tank Specifications: The verified capacity of the installed fuel tank in liters.
Step 1: Extract and Identify the ECU Data File
Begin by dumping the current ECU data to a computer using a compatible diagnostic scanner. Ensure the scan is performed with the ignition on but the engine off (if supported) to avoid runtime overrides affecting static parameters. Save the file in its native format (often .bin, .hex, or tool-specific formats).
Identify the specific ECU variant for your vehicle. For Mitsubishi Triton/L200 models, confirm the exact engine code (e.g., 4N15) and ECU part number if available. This helps in matching the correct data map when searching for parameters. Note that different fuel system configurations (diesel vs. petrol) may store this data in different sections of the ECU memory.
Step 2: Search for Fuel Tank Capacity Parameters
Open the ECU file in a hex editor or a dedicated ECU calibration tool. Look for parameters labeled with terms such as TANK_CAP, FUEL_VOL, TANK_SIZE, or CAPACITY. In many Mitsubishi ECUs, these values are stored as fixed constants rather than calculated values.
If using a hex editor, search for known default capacity values (e.g., 60L, 75L, 90L) in decimal and hexadecimal formats. For example, if your standard tank is 90 liters, search for 0x5A (decimal 90). If you see multiple instances, cross-reference with the ECU data map or service manual to determine which address corresponds to tank capacity. Be cautious of similar values that might represent fuel filter volume or other constants.
If using a calibration tool, navigate through the parameter tree under "Fuel System" or "Driver Information" sections. Look for fields explicitly named "Tank Capacity" or "Fuel Tank Volume." These tools often provide context labels that make identification easier than raw hex searching.
Step 3: Verify and Update the Parameter (If Writable)
Once you have identified the likely parameter, verify its function by comparing it against known behavior. If your ECU supports writing to parameters, back up the current value before making changes. Set the new value to match your installed tank's capacity. For example, if you replaced a 90L tank with a 120L tank, update the parameter to 120.
Note that some ECUs calculate range based on fuel pressure or flow rate rather than a fixed capacity. In such cases, changing the tank capacity value alone may not significantly alter the distance-to-empty estimate unless the ECU uses this value directly in its calculation algorithm. Check the service manual for how the ECU calculates remaining fuel range to determine if a single parameter change is sufficient or if additional calibrations (like fuel level sensor offsets) are needed.
Step 4: Test and Validate the Change
After updating the parameter, refuel the vehicle partially (e.g., to half capacity) and monitor the distance-to-empty display over several drives of varying conditions. Compare the estimated range against actual distance driven before reaching a known low-fuel state. If the estimate is consistently off, revisit Step 2 to ensure you modified the correct parameter.
Consider that some ECU versions may use interpolation between fuel level sensor signals and stored capacity values. In these cases, small discrepancies in tank geometry or sensor calibration can affect accuracy even with the correct capacity value entered. If the error persists, verify that the fuel level sender unit is correctly calibrated for your new tank's dimensions.
Verification Checks and Troubleshooting
- Parameter Persistence: Confirm that the changed value remains after a power cycle (key off/on) to ensure it was written to non-volatile memory if applicable.
- Multiple Parameters: Some ECUs store both "full tank capacity" and "usable fuel volume." Check for both and update them consistently.
- Unit Mismatch: Ensure the value is entered in liters, not milliliters or another unit. A decimal error (e.g., 90 vs. 9000) will drastically skew range calculations.
- ECU Lockout: If using a scanner tool, verify that the ECU allows writes to this parameter. Some parameters are read-only and require advanced calibration tools for modification.
Final Note: Calibration Dependencies
The accuracy of distance-to-empty depends not only on the tank capacity value but also on fuel level sensor linearity and ECU calculation algorithms. If your new tank has different internal geometry or sender placement, consider calibrating the fuel level sensor to match the actual tank volume distribution. This ensures that the ECU receives accurate fill-level data, which is critical for reliable range estimation beyond just setting the maximum capacity parameter.