Skip to main content

Gallon Calculator

Convert gallon between units instantly. Includes conversion tables, common equivalents, and calculation formulas. Enter your values for instant results.

Skip to calculator
Unit Conversion

Gallon Calculator

Calculate gallons, convert between volume units, and find container capacity in gallons. Convert gallons to liters, cups, quarts, pints, and fluid ounces.

Last updated: December 2025

Calculator

Adjust values & calculate
5 US Gallons
18.9271 Liters
Quarts
20
Pints
40
Cups
80
Fluid Ounces
640
Cubic Inches
1155
Imperial Gal
4.1634
Your Result
5 gal = 18.9271 L = 80 cups = 640 fl oz
Share Your Result
Understand the Math

Formula

1 US gallon = 231 in3 = 3.78541 L = 4 qt = 8 pt = 16 cups = 128 fl oz

The US gallon is defined as exactly 231 cubic inches. For container capacity, calculate the volume in cubic inches (length x width x height for rectangular containers) and divide by 231. All sub-units follow a doubling pattern: 1 gallon = 4 quarts, 1 quart = 2 pints, 1 pint = 2 cups, 1 cup = 8 fluid ounces.

Last reviewed: December 2025

Worked Examples

Example 1: Aquarium Volume

Calculate the gallon capacity of a fish tank measuring 36 x 18 x 16 inches.
Solution:
Volume = L x W x H Volume = 36 x 18 x 16 = 10,368 cubic inches Gallons = 10,368 / 231 = 44.88 US gallons Liters = 44.88 x 3.78541 = 169.9 L Weight of water = 44.88 x 8.345 = 374.5 lbs
Result: 44.88 US gallons = 169.9 liters

Example 2: Recipe Scaling

Convert 2.5 gallons to cups and fluid ounces.
Solution:
Cups = 2.5 x 16 = 40 cups Fluid ounces = 2.5 x 128 = 320 fl oz Quarts = 2.5 x 4 = 10 quarts Liters = 2.5 x 3.78541 = 9.464 L
Result: 2.5 gallons = 40 cups = 320 fl oz
Expert Insights

Background & Theory

The Gallon Calculator applies the following established principles and formulas. Unit conversion is the process of expressing a quantity in a different unit of measurement while preserving its physical meaning. At the foundation of modern measurement lies the International System of Units (SI), which defines seven base units: the meter for length, kilogram for mass, second for time, ampere for electric current, kelvin for thermodynamic temperature, mole for amount of substance, and candela for luminous intensity. All other units, called derived units, are defined as algebraic combinations of these seven. Dimensional analysis is the principal method for performing unit conversions. By treating units as algebraic quantities that can be multiplied, divided, and cancelled, a conversion factor chain allows a value expressed in one unit to be rewritten in another without altering its physical magnitude. For example, to convert 60 miles per hour to meters per second, one multiplies by a chain of conversion factors each equal to one: (1609.34 m / 1 mile) × (1 hour / 3600 s). Metric prefixes enable compact expression of quantities across extreme ranges of magnitude. Standard prefixes span from nano (10^-9) through micro (10^-6) and milli (10^-3) up through kilo (10^3), mega (10^6), and giga (10^9), and beyond in both directions. These prefixes are strictly multiplicative and apply consistently to any SI base or derived unit. Temperature conversions require affine transformations rather than simple scaling. To convert Celsius to Fahrenheit the formula is °F = (°C × 9/5) + 32, while the conversion to the absolute Kelvin scale is K = °C + 273.15. These formulas reflect the different zero points and degree-size conventions of each scale. Significant figures govern how precision is preserved through calculations. A result should not express more precision than the least precise input value permits. In digital storage, IEEE and IEC standards distinguish between decimal prefixes (kilobyte = 1000 bytes) and binary prefixes (kibibyte = 1024 bytes), a distinction that has practical consequences for how storage capacity is reported by manufacturers versus operating systems. Unit coherence — ensuring that all quantities in an equation share a consistent unit system — is essential for obtaining correct results.

History

The history behind the Gallon Calculator traces back through the following developments. Human beings have been measuring and comparing quantities since before recorded history. The earliest known measurement units were body-based: the cubit (the distance from elbow to fingertip), the foot, the hand, and the digit. The furlong originated as the length of a furrow a team of oxen could plow without resting. These anthropomorphic standards were practical for local use but differed between regions and kingdoms, creating persistent difficulties in trade and construction. The ancient Egyptians standardized the royal cubit at approximately 52.4 centimeters and distributed calibrated granite rods to ensure consistency across building projects, including the pyramids. Roman engineers used the mile (mille passuum, one thousand double paces) and spread these standards throughout their empire via road networks. Despite these efforts, measurement diversity persisted across medieval Europe, hampering commerce. The French Revolution created political will for radical standardization. In 1795 France officially adopted the metric system, defining the meter as one ten-millionth of the distance from the equator to the North Pole along the Paris meridian. This gave the world its first fully decimal, rationally constructed measurement system. The Metre Convention of 1875 established the International Bureau of Weights and Measures (BIPM) in Sevres, France, creating a permanent international body to maintain physical artifact standards and coordinate global metrology. For over a century, the kilogram was defined by a platinum-iridium cylinder locked in a vault near Paris. In 1999, a stark demonstration of what unit inconsistency costs occurred when NASA's Mars Climate Orbiter was lost because one engineering team used pound-force seconds while another used newton seconds. The spacecraft entered the Martian atmosphere at the wrong angle and was destroyed, at a cost of 327 million dollars. In 2019 the SI underwent its most significant revision, redefining all seven base units in terms of fixed numerical values of fundamental physical constants such as the speed of light, Planck's constant, and the elementary charge. This eliminated any reliance on physical artifacts and made the measurement system permanently stable and universally reproducible.

Share this calculator

Explore More

Frequently Asked Questions

One US gallon equals exactly 3.78541 liters. One US gallon is also defined as 231 cubic inches or 128 US fluid ounces. The imperial (UK) gallon is larger at 4.54609 liters. The US gallon originated from the English wine gallon of 231 cubic inches, while the imperial gallon was defined in 1824 as the volume occupied by 10 pounds of water at a specific temperature. For everyday use, remember that 1 gallon is approximately 3.8 liters.
One US gallon of water weighs approximately 8.345 pounds (3.785 kilograms) at room temperature (about 62 degrees Fahrenheit or 17 degrees Celsius). The exact weight varies slightly with temperature because water density changes. At its densest point (39.2 degrees F or 4 degrees C), a gallon weighs about 8.35 pounds. The old saying goes, a pint is a pound the world around, which is a reasonable approximation since a pint of water weighs about 1.04 pounds.
You may use the results for reference and educational purposes. For professional reports, academic papers, or critical decisions, we recommend verifying outputs against peer-reviewed sources or consulting a qualified expert in the relevant field.
All calculations use established mathematical formulas and are performed with high-precision arithmetic. Results are accurate to the precision shown. For critical decisions in finance, medicine, or engineering, always verify results with a qualified professional.
No. All calculations run entirely in your browser using JavaScript. No data you enter is ever transmitted to any server or stored anywhere. Your inputs remain completely private.
The Formula section on this page shows the equation used. You can reproduce the calculation manually or in a spreadsheet using those steps. Compare your answer against the worked examples in the Examples section, which use known reference values so you can confirm the calculator is behaving as expected.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings. © 2024–2026 NovaCalculator.

Share this calculator

Formula

1 US gallon = 231 in3 = 3.78541 L = 4 qt = 8 pt = 16 cups = 128 fl oz

The US gallon is defined as exactly 231 cubic inches. For container capacity, calculate the volume in cubic inches (length x width x height for rectangular containers) and divide by 231. All sub-units follow a doubling pattern: 1 gallon = 4 quarts, 1 quart = 2 pints, 1 pint = 2 cups, 1 cup = 8 fluid ounces.

Worked Examples

Example 1: Aquarium Volume

Problem: Calculate the gallon capacity of a fish tank measuring 36 x 18 x 16 inches.

Solution: Volume = L x W x H\nVolume = 36 x 18 x 16 = 10,368 cubic inches\nGallons = 10,368 / 231 = 44.88 US gallons\nLiters = 44.88 x 3.78541 = 169.9 L\nWeight of water = 44.88 x 8.345 = 374.5 lbs

Result: 44.88 US gallons = 169.9 liters

Example 2: Recipe Scaling

Problem: Convert 2.5 gallons to cups and fluid ounces.

Solution: Cups = 2.5 x 16 = 40 cups\nFluid ounces = 2.5 x 128 = 320 fl oz\nQuarts = 2.5 x 4 = 10 quarts\nLiters = 2.5 x 3.78541 = 9.464 L

Result: 2.5 gallons = 40 cups = 320 fl oz

Frequently Asked Questions

How many liters are in a gallon?

One US gallon equals exactly 3.78541 liters. One US gallon is also defined as 231 cubic inches or 128 US fluid ounces. The imperial (UK) gallon is larger at 4.54609 liters. The US gallon originated from the English wine gallon of 231 cubic inches, while the imperial gallon was defined in 1824 as the volume occupied by 10 pounds of water at a specific temperature. For everyday use, remember that 1 gallon is approximately 3.8 liters.

How much does a gallon of water weigh?

One US gallon of water weighs approximately 8.345 pounds (3.785 kilograms) at room temperature (about 62 degrees Fahrenheit or 17 degrees Celsius). The exact weight varies slightly with temperature because water density changes. At its densest point (39.2 degrees F or 4 degrees C), a gallon weighs about 8.35 pounds. The old saying goes, a pint is a pound the world around, which is a reasonable approximation since a pint of water weighs about 1.04 pounds.

What inputs do I need to use Gallon Calculator accurately?

Each field is labelled with the required unit (metric or imperial). Gather your source values before starting — for example, a weight measurement in kilograms, a distance in metres, or a dollar amount — and enter them exactly as measured. The formula section on this page lists every variable and explains what each represents.

How do I verify Gallon Calculator's result independently?

The Formula section on this page shows the equation used. You can reproduce the calculation manually or in a spreadsheet using those steps. Compare your answer against the worked examples in the Examples section, which use known reference values so you can confirm the calculator is behaving as expected.

How do I interpret the result?

Results are displayed with a label and unit to help you understand the output. Many calculators include a short explanation or classification below the result (for example, a BMI category or risk level). Refer to the worked examples section on this page for real-world context.

Can I use Gallon Calculator on a mobile device?

Yes. All calculators on NovaCalculator are fully responsive and work on smartphones, tablets, and desktops. The layout adapts automatically to your screen size.

References

Reviewed by Manoj Kumar, Mathematics Educator · Editorial policy