Cubic Inches to Gallons Calculator
- Cubic feet
- ft³
- Result
- Liters
- L
- Result
- Cubic inches
- 1000 in³
- You entered
This calculator converts a volume in cubic inches to gallons (US liquid gallons) instantly. You enter the number of cubic inches, and it returns the equivalent gallons, along with the volume in cubic feet and liters for reference. The conversion uses the standard factor: 1 US gallon = 231 cubic inches.
Formula
The core formula is:
Gallons = Cubic Inches ÷ 231
Where:
- Cubic Inches (in³) – the volume you start with, a measure of three-dimensional space in the imperial/US customary system.
- 231 – the exact number of cubic inches in one US liquid gallon. This is a defined constant, not an approximation.
For reference, the same volume in other units uses:
- Cubic Feet = Cubic Inches ÷ 1,728 (since 1 ft = 12 in, 1 ft³ = 12³ = 1,728 in³)
- Liters = Cubic Inches × 0.016387064 (the exact conversion from cubic inches to liters)
Worked Example
Using the default input of 1,000 cubic inches:
- Gallons = 1,000 ÷ 231 = 4.329004… gallons
- Rounded to 2 decimal places: 4.33 gallons
- Cubic feet = 1,000 ÷ 1,728 = 0.5787… → 0.58 ft³
- Liters = 1,000 × 0.016387064 = 16.387064 → 16.39 L
So 1,000 cubic inches equals approximately 4.33 US gallons.
Why 231? A Quick History
The number 231 comes from the old English wine gallon, which was standardized in 1707 as a cylinder 7 inches in diameter and 6 inches deep. The volume of that cylinder is π × (3.5²) × 6 ≈ 230.9 cubic inches, which was rounded to exactly 231. The US adopted this definition in the 19th century, and it remains the official US liquid gallon today. Note that the UK (imperial) gallon is different – it equals about 277.42 cubic inches. This calculator uses the US gallon, which is the standard for most fuel economy, cooking, and liquid measurements in the United States.
When to Use This Conversion
You might need to convert cubic inches to gallons in several everyday situations:
- Aquarium sizes: Many fish tanks are sold by dimensions in inches; calculating volume in gallons helps you choose the right filter and heater.
- Engines and machinery: Engine displacement is often given in cubic inches (e.g., a 350 CID engine). Converting to gallons isn’t common for engines, but the same math applies to oil or coolant capacities.
- Shipping and storage: Boxes and containers are measured in inches; knowing gallons helps estimate liquid capacity.
- DIY and construction: Concrete, paint, or sealant volumes might be listed in cubic inches but sold by the gallon.
In all these cases, the conversion is straightforward – just divide by 231.
Common Mistakes and How to Avoid Them
The biggest error is mixing up US and imperial gallons. If you use the imperial gallon (277.42 in³), your result will be about 20% smaller. Always check which gallon your context requires.
Another frequent mistake is forgetting to convert all dimensions to inches first. If you have a tank that is 2 feet long, 1 foot wide, and 12 inches deep, you must convert feet to inches (2 ft = 24 in, 1 ft = 12 in) before multiplying to get cubic inches. Failing that gives a wildly wrong answer.
Rounding too early can also cause errors. For example, if you round 4.329 to 4.33 and then multiply by many units, the small error compounds. Keep full precision until the final step.
How to Read the Result
The calculator gives you the volume in US gallons, rounded to two decimal places. That is enough for most practical purposes – for instance, a 1,000 in³ tank is about 4.33 gallons. If you need more precision (e.g., for chemical mixing), you can increase the decimal places in your own calculation.
The additional outputs – cubic feet and liters – help you cross-check. For instance, 1 cubic foot is about 7.48 US gallons. So if your result in cubic feet is 0.58, multiplying by 7.48 gives 4.34 gallons, which matches (small rounding difference). This is a good sanity check.
Limitations of the Formula
This conversion assumes a perfectly regular shape where you already know the total volume in cubic inches. If you are measuring an irregular object, you cannot simply multiply dimensions – you need water displacement or another method to find the volume first.
Also, the formula is for liquid gallons. Dry gallons (used for grains, etc.) are different: 1 US dry gallon = 268.8 cubic inches. This calculator does not handle dry gallons.
Finally, temperature can slightly affect liquid volume due to expansion, but for most everyday conversions, the difference is negligible. At 68°F (20°C), water’s density changes are minor, and the 231 in³ per gallon definition is fixed regardless of temperature.
Frequently Asked Questions
How many cubic inches are in a gallon?
Exactly 231 cubic inches in one US liquid gallon. This is a fixed definition, so the conversion is always precise: gallons = cubic inches ÷ 231.
Is the UK gallon the same as the US gallon?
No. The UK (imperial) gallon is about 277.42 cubic inches, which is roughly 20% larger than the US gallon. If you are using UK measurements, you must divide by 277.42 instead of 231.
How do I convert a cylinder’s volume from cubic inches to gallons?
First find the volume of the cylinder in cubic inches using the formula π × r² × h (where r is radius and h is height, both in inches). Then divide that result by 231 to get gallons. For example, a cylinder 10 inches in diameter (radius 5) and 20 inches tall has volume π × 25 × 20 ≈ 1,570.8 in³, which is about 6.80 gallons.
What is the difference between a liquid gallon and a dry gallon?
The US liquid gallon is 231 cubic inches, while the US dry gallon is 268.8 cubic inches. Dry gallons are rarely used today, mostly for agricultural commodities. This calculator uses the liquid gallon.
Can I use this for engine displacement?
Technically yes, but engine displacement is almost never expressed in gallons. A 350 cubic inch engine is about 1.51 gallons of total swept volume. However, that number is not practically useful; you’d normally convert to liters (350 in³ ≈ 5.7 L) for comparison.
Why does my tank’s label say gallons but my measurements are in inches?
Manufacturers often list dimensions in inches and volume in gallons. To verify, multiply length × width × height (in inches) to get cubic inches, then divide by 231. For example, a tank 24″ × 12″ × 16″ = 4,608 in³ ÷ 231 ≈ 19.95 gallons, so it’s sold as a 20-gallon tank.
Related
Formula used
in cu_in | Cubic inches | in³ | 1000 | 0 out gallons | Gallons (US) | gal | cu_in / 231 | 2 out cubic_ft | Cubic feet | ft³ | cu_in / 1728 | 2 out liters | Liters | L | cu_in * 0.016387064 | 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.