ThisCalculator

Conversions

Gallons Used Calculator: Fuel & Tank Volume

Updated · Standard formula, shown below

Gallons used 12.00 gal
Used in liters
45.42 L
Result
Starting amount
15 gal
You entered
Ending amount
3 gal
You entered

Gallons Used Calculator: Fuel & Tank Volume

This calculator works out how many gallons of fuel or liquid you have used based on the volume you started with and the volume remaining, or from a flow rate and time. Enter the starting amount, the amount left (or the flow rate and duration), and the calculator returns the total gallons used, plus the difference in liters for easy conversion.

Formula

The core formula is simple subtraction:

Gallons used = Starting amount − Ending amount

Where:

  • Starting amount (gallons, liters, or any consistent unit) – the volume of fuel or liquid at the beginning.
  • Ending amount (same unit) – the volume remaining after use.
  • Gallons used – the difference, expressed in gallons (US liquid gallons for this calculator).

If you are measuring in liters, the same subtraction works, then convert to gallons by multiplying by 0.264172. The calculator assumes US liquid gallons (1 US gal = 3.78541 L). For imperial gallons, use 4.54609 L per gallon.

Worked Example

Using the default values from the calculator:

  1. Starting amount = 15 gallons
  2. Ending amount = 3 gallons
  3. Gallons used = 15 − 3 = 12 gallons
  4. In liters: 12 × 3.78541 = 45.42 liters

The calculator shows 12.00 gallons and 45.42 liters, matching the steps above.

When to Use This Calculator

You might need to calculate gallons used in several everyday situations:

  • Fuel consumption tracking: Record the fuel added to your vehicle and the odometer reading to compute miles per gallon (MPG) or liters per 100 km.
  • Heating oil or propane: Determine how much fuel you burned between deliveries by comparing tank levels.
  • Water usage: Estimate water consumed in a tank or pool by measuring the drop in water level.
  • Chemical mixing: Calculate how much concentrate was used when diluting a solution.
  • Generator or equipment runtime: Know how much fuel a generator consumed over a period based on tank refills.

In all cases, the key is having accurate starting and ending volumes. For fuel in vehicles, the easiest method is to fill the tank completely, note the odometer, drive, then refill completely and note the gallons added. That added amount is the gallons used since the last fill.

How to Read the Result

The result is the total volume consumed, not the rate. To get a rate like miles per gallon, divide the distance traveled by the gallons used:

MPG = Distance (miles) ÷ Gallons used

For example, if you drove 300 miles and used 12 gallons, your fuel economy is 25 MPG. In metric, if you drove 500 km and used 45.42 liters, your consumption is 9.08 L/100 km (liters per 100 km).

The calculator also shows the used volume in liters, which is handy if you need to compare with fuel prices per liter or if your vehicle’s manual uses metric units.

Common Mistakes and Unit Mix-Ups

One of the most frequent errors is mixing US and imperial gallons. A US gallon is smaller than an imperial gallon (1 US gal = 0.833 imperial gal). If you are using a fuel pump in the UK or Canada, the pump may dispense liters, so always convert carefully.

  • Mistake 1: Using liters for starting and ending amounts but then reading the result as gallons. The calculator expects both inputs in the same unit; if you enter liters, the result will be in liters, not gallons. To get gallons, convert the difference manually.
  • Mistake 2: Forgetting to subtract the ending amount. If you only know the starting amount and the amount used (e.g., from a flow meter), you can enter 0 as the ending amount, but that only works if the tank is empty.
  • Mistake 3: Rounding too early. If you round the starting and ending amounts to whole gallons, you may lose precision. Use decimals for better accuracy.
  • Mistake 4: Confusing volume with flow rate. A flow rate (gallons per minute) multiplied by time gives total gallons used, but this calculator does not do that multiplication unless you manually compute it.

Limits of the Formula

The simple subtraction assumes no losses or gains besides what you measure. In real life, fuel can evaporate, leak, or be stolen. Temperature changes also affect liquid volume: fuel expands when warm, so a tank may show more gallons on a hot day. For precise measurements, use temperature-corrected volumes if available.

Also, the calculator does not account for tank shape irregularities. If you are measuring a partially filled tank using a dipstick, the volume may not be linear with depth. In such cases, use a tank capacity chart from the manufacturer.

For fuel consumption in vehicles, the “gallons used� from a fill-up is only accurate if you fill the tank to the same level each time. If you do not top off identically, the difference will be off.

Alternatives and Related Calculations

If you need more than just gallons used, consider these related calculations:

  • Fuel economy (MPG or L/100km): Requires distance traveled and gallons used. Many online calculators combine both.
  • Cost per mile: Multiply gallons used by fuel price per gallon, then divide by miles driven.
  • Flow rate to gallons: If you know the flow rate (e.g., 2 gallons per minute) and time, multiply to get total gallons used.
  • Tank volume: For a rectangular tank, volume = length × width × height. For cylindrical tanks, use Ï€ × radius² × height.

This calculator is a building block; you can use the result in further calculations like cost or efficiency.

Frequently Asked Questions

How do I calculate gallons used from a fuel receipt?

If you fill your tank completely, the gallons shown on the receipt are the gallons used since your last fill-up, assuming you also filled completely then. Subtract any fuel added to a partially full tank from the tank capacity to get the used amount.

What is the difference between US and imperial gallons?

A US gallon is 3.78541 liters, while an imperial gallon is 4.54609 liters. That means an imperial gallon is about 20% larger. If you mix them up, your fuel economy calculations will be off by roughly 20%.

Can I use this calculator for water or other liquids?

Yes, the math works for any liquid. Just ensure both starting and ending amounts are in the same unit. The calculator outputs gallons and liters, so you can use it for water tanks, chemical solutions, or even milk.

How do I convert gallons used to liters?

Multiply the gallons used by 3.78541 to get liters. The calculator does this for you in the second output. For imperial gallons, multiply by 4.54609.

What if I only know the flow rate and time?

Multiply the flow rate (gallons per minute) by the time in minutes to get total gallons used. For example, a pump flowing 5 gallons per minute for 30 minutes uses 150 gallons. This calculator does not do that multiplication directly, but you can enter the result as the starting amount and 0 as the ending amount.

Why does my fuel gauge not match the gallons used?

Fuel gauges are not precise and often show nonlinear readings. The best way to measure gallons used is by tracking fill-ups, not by relying on the gauge. Temperature and tank shape also cause discrepancies.

Related

Formula used
in start | Starting amount | gal | 15 | 0
in end | Ending amount | gal | 3 | 0
out used | Gallons used | gal | start - end | 2
out used_liters | Used in liters | L | (start - end) * 3.78541 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.