When a renter brings a car back below full, the counter needs a quick, defensible refuel charge. Multiplying tank size by the empty share of the tank estimates the gallons missing, ROUNDUP bills whole gallons, and the refuel price turns that into the fee.
A 12-gallon compact returned half full is 6 gallons short, so at $6.50 per gallon the refuel charge is $39.00.
The example
Three worked examples. Change any yellow input in the practice workbook and the results recalculate.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Case | Tank gal | Fuel level | Price/gal | Gallons short | Refuel charge |
| 2 | Compact | 12 | 50.0% | $6.50 | 6 | $39.00 |
| 3 | SUV | 18 | 25.0% | $6.50 | 14 | $91.00 |
| 4 | Minivan | 20 | 75.0% | $6.50 | 5 | $32.50 |
The formula
Here is the formula, built directly from the inputs:
How it works
Here is the logic, one piece at a time:
1-C2is the empty share of the tank.B2*(1-C2)estimates the gallons missing.ROUNDUP(...,0)bills whole gallons.E2*D2prices the missing gallons.
Keep every number in its own input cell so the formula never needs editing.
Try it: interactive demo
Enter the values below.
Variations
Minimum charge
Never charge less than $15.
Eighths gauge
Gauge read in eighths.
Pitfalls & errors
Enter the fuel level as 50% or 0.5, not 50.
Gauges are approximate; disclose the per-gallon refuel price in the rental agreement.
Record the fuel level on check-in so disputes have a reference.
Practice workbook
Frequently asked questions
Why ROUNDUP?
Can I use the actual pump receipt?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class