Aquarium unit converter
Convert aquarium gallons to litres (US or UK gallons), °F to °C, inches to cm, dGH and dKH to ppm, filter GPH to L/h, and pounds to kg. Type a number in any box and the other boxes update as you type.
Gallons to litres
Fahrenheit to Celsius
Inches to centimetres
dGH and dKH to ppm
GPH to litres per hour
Pounds to kilograms
1 US gallon is 3.785 litres, so multiply gallons by 3.785 to get litres (a 20 gallon tank holds 75.7 litres); a UK gallon is 4.546 litres. For temperature, °C = (°F − 32) ÷ 1.8, and for water hardness, 1 dGH or dKH = 17.848 ppm.
How the conversions work
Every conversion except temperature is a single multiplication: multiply one way, divide the other. Temperature also needs an offset of 32, because the Fahrenheit and Celsius scales start at different points.
- Volume: litres = US gallons × 3.785411784 (a US gallon is defined as 231 cubic inches). Litres = UK gallons × 4.54609. One UK gallon is 1.20095 US gallons.
- Temperature: °C = (°F − 32) ÷ 1.8, and °F = °C × 1.8 + 32.
- Length: centimetres = inches × 2.54.
- Hardness: ppm = dGH (or dKH) × 17.848. Grains per gallon = ppm ÷ 17.118.
- Flow: L/h = GPH × 3.785411784.
- Weight: kilograms = pounds × 0.45359237.
The volume, temperature, length and weight factors are exact by definition. The converter rounds results to one or two decimal places so they are easy to read.
Worked example: a 29 gallon tropical tank
Say you have a 29 gallon tank, the heater is set to 78°F, and your GH test reads 8 dGH.
- Volume: 29 × 3.785411784 = 109.78 litres. Divide by 4.54609 and you get 24.15 UK gallons.
- Temperature: (78 − 32) ÷ 1.8 = 46 ÷ 1.8 = 25.6°C.
- Hardness: 8 × 17.848 = 142.8 ppm, which the USGS scale calls hard water (121–180 ppm).
Why 1 dGH equals 17.848 ppm
One German degree of hardness (°dH) is defined as 10 milligrams of calcium oxide (CaO) per litre. Hardness in ppm is usually reported as if it were all calcium carbonate (CaCO3). A mole of CaCO3 weighs 100.09 g and a mole of CaO weighs 56.08 g, so 10 mg/L of CaO matches 10 × 100.09 ÷ 56.08 = 17.848 mg/L of CaCO3. In fresh water, 1 mg/L is the same as 1 ppm.
The same factor works for GH (general hardness, mostly calcium and magnesium) and KH (carbonate hardness), because both are expressed as calcium carbonate. Some test kits round the factor to 17.8 or 17.9. That changes the answer by less than 0.3%, far less than the one-drop step of a drop test.
US water reports sometimes give hardness in grains per gallon (gpg). One grain per US gallon is 17.118 ppm, so it is close to one German degree but not the same: 1 dGH is 1.04 gpg.
Quick reference tables
Common tank sizes in gallons and litres
| Tank | Litres | UK gallons | Typical size (in) | Typical size (cm) |
|---|---|---|---|---|
| 3 gallon | 11.4 L | 2.5 | 12 × 8 × 10 | 30.5 × 20.3 × 25.4 |
| 5 gallon | 18.9 L | 4.2 | 16 × 8 × 10 | 40.6 × 20.3 × 25.4 |
| 10 gallon | 37.9 L | 8.3 | 20 × 10 × 12 | 50.8 × 25.4 × 30.5 |
| 15 gallon | 56.8 L | 12.5 | 24 × 12 × 12 | 61 × 30.5 × 30.5 |
| 20 gallon | 75.7 L | 16.7 | 24 × 12 × 16 | 61 × 30.5 × 40.6 |
| 20 gallon long | 75.7 L | 16.7 | 30 × 12 × 12 | 76.2 × 30.5 × 30.5 |
| 29 gallon | 109.8 L | 24.1 | 30 × 12 × 18 | 76.2 × 30.5 × 45.7 |
| 40 gallon | 151.4 L | 33.3 | 36 × 18 × 16 | 91.4 × 45.7 × 40.6 |
| 55 gallon | 208.2 L | 45.8 | 48 × 13 × 21 | 121.9 × 33 × 53.3 |
| 75 gallon | 283.9 L | 62.5 | 48 × 18 × 21 | 121.9 × 45.7 × 53.3 |
| 125 gallon | 473.2 L | 104.1 | 72 × 18 × 21 | 182.9 × 45.7 × 53.3 |
US gallons. Sizes are length × width × height of typical standard glass tanks; brands vary by up to an inch.
Fahrenheit to Celsius
| °F | °C |
|---|---|
| 65°F | 18.3°C |
| 68°F | 20°C |
| 70°F | 21.1°C |
| 72°F | 22.2°C |
| 74°F | 23.3°C |
| 75°F | 23.9°C |
| 76°F | 24.4°C |
| 77°F | 25°C |
| 78°F | 25.6°C |
| 79°F | 26.1°C |
| 80°F | 26.7°C |
| 82°F | 27.8°C |
| 84°F | 28.9°C |
| 86°F | 30°C |
Celsius to Fahrenheit
| °C | °F |
|---|---|
| 18°C | 64.4°F |
| 20°C | 68°F |
| 21°C | 69.8°F |
| 22°C | 71.6°F |
| 23°C | 73.4°F |
| 24°C | 75.2°F |
| 25°C | 77°F |
| 26°C | 78.8°F |
| 27°C | 80.6°F |
| 28°C | 82.4°F |
| 29°C | 84.2°F |
| 30°C | 86°F |
| 31°C | 87.8°F |
| 32°C | 89.6°F |
dGH and dKH to ppm
| Degrees (dGH or dKH) | ppm (mg/L as CaCO3) | Grains per gallon | USGS scale (for GH) |
|---|---|---|---|
| 1 | 17.8 | 1 | soft |
| 2 | 35.7 | 2.1 | soft |
| 3 | 53.5 | 3.1 | soft |
| 4 | 71.4 | 4.2 | moderately hard |
| 5 | 89.2 | 5.2 | moderately hard |
| 6 | 107.1 | 6.3 | moderately hard |
| 8 | 142.8 | 8.3 | hard |
| 10 | 178.5 | 10.4 | hard |
| 12 | 214.2 | 12.5 | very hard |
| 15 | 267.7 | 15.6 | very hard |
| 20 | 357 | 20.9 | very hard |
GPH to L/h
| GPH (US) | L/h |
|---|---|
| 50 | 189.3 |
| 75 | 283.9 |
| 100 | 378.5 |
| 150 | 567.8 |
| 200 | 757.1 |
| 250 | 946.4 |
| 300 | 1,135.6 |
| 400 | 1,514.2 |
| 500 | 1,892.7 |
| 750 | 2,839.1 |
| 1,000 | 3,785.4 |
Inches to centimetres
| Inches | cm |
|---|---|
| 1 in | 2.54 cm |
| 2 in | 5.08 cm |
| 4 in | 10.16 cm |
| 6 in | 15.24 cm |
| 12 in | 30.48 cm |
| 18 in | 45.72 cm |
| 24 in | 60.96 cm |
| 30 in | 76.2 cm |
| 36 in | 91.44 cm |
| 48 in | 121.92 cm |
| 72 in | 182.88 cm |
Tips for getting the units right
- Check which gallon. Tanks sold in the US are measured in US gallons. UK and European tanks are usually labelled in litres, but older UK books and forum posts use UK gallons, which are about 20% bigger. A 50 UK gallon tank holds 227 litres, or 60 US gallons.
- Dose by the unit on the label. Water conditioner, fertiliser and medicine doses are given per US gallon, per litre or sometimes per UK gallon. Mixing up US and UK gallons puts the dose off by about 20%.
- Your tank holds less than its label. A standard 55 gallon tank measures 48 × 13 × 21 inches on the outside: 13,104 cubic inches, or 56.7 US gallons. Glass, substrate, rock and the gap below the rim mean the real water volume is lower. Measure the inside and use the aquarium volume calculator for a closer figure.
- Convert temperature changes differently. A change of 1°C is a change of 1.8°F, so raising the heater by 2°C is a 3.6°F rise. Don't add 32 when you convert a difference.
- Match hardness units before comparing. Our fish profiles list GH in dGH. If your test strip reads in ppm, divide by 17.848 first.
- Treat filter ratings as a maximum. Flow ratings are usually measured with an empty filter and no height to pump against, so real flow is lower. The filter flow calculator shows what your tank needs.
- Water is heavy. A US gallon of fresh water weighs about 8.34 lb, and a litre weighs about 1 kg. A 20 gallon tank holds about 167 lb (76 kg) of water before glass, gravel and rock. Check your stand with the tank weight calculator.
Related calculators
- Aquarium volume calculator: Work out how many gallons or litres your tank holds, for rectangular, cylinder, bow front, corner and hexagon tanks.
- Aquarium weight calculator: Estimate the full weight of your aquarium with water, glass, substrate and rock, so you can check your stand and floor.
- Aquarium gravel and sand calculator: Find how many pounds or kilograms of gravel, sand or aquasoil you need for the depth you want.
- Aquarium heater size calculator: Find the right heater wattage for your tank size, room temperature and target water temperature.
- Aquarium filter flow rate calculator: See what filter flow rate (GPH or L/h) your tank needs, and check whether your current filter is enough.
- Water change and nitrate calculator: See how much a water change lowers nitrate, and how many changes it takes to reach a target.
- Aquarium CO2 calculator (pH and KH): Estimate dissolved CO2 in a planted tank from your pH and KH readings.
- Fish tank stocking calculator: check how many fish your tank can hold, and whether they get along.
See every tool on the calculators page, compare common tank sizes in fish by tank size, or read our fishkeeping guides.
Shop for this
- Liquid test kit (ammonia, nitrite, nitrate, pH) (opens Amazon in a new tab)Liquid kits are more accurate than strips. The API Freshwater Master Test Kit is the common choice. How to choose
- Aquarium thermometer (opens Amazon in a new tab)Check it daily: heaters can fail stuck on or off. How to choose
Product links go to Amazon search results. As an Amazon Associate we earn from qualifying purchases, at no extra cost to you. Disclosure.
Frequently asked questions
How many litres are in a gallon?
A US gallon is 3.785 litres (exactly 3.785411784 L, because it is defined as 231 cubic inches). A UK or imperial gallon is 4.546 litres (exactly 4.54609 L). So a 10 US gallon tank holds 37.85 litres, while 10 UK gallons is 45.46 litres.
How many liters is a 20 gallon fish tank?
A 20 US gallon tank holds 75.7 litres (75.71 L). If the 20 gallons are UK gallons, it is 90.9 litres. The real amount of water is a little less once you add substrate and decor.
How do I convert dGH or dKH to ppm?
Multiply by 17.848. One German degree is 10 mg of calcium oxide per litre, which equals 17.848 mg/L (ppm) as calcium carbonate. To go back, divide ppm by 17.848. For example, 6 dKH is 107.1 ppm, and 150 ppm GH is 8.4 dGH.
What is 78°F in Celsius?
78°F is 25.6°C. Subtract 32, then divide by 1.8: (78 − 32) ÷ 1.8 = 25.56. To go from Celsius to Fahrenheit, multiply by 1.8 and add 32, so 25°C is 77°F.
How do I convert filter GPH to litres per hour?
Multiply GPH by 3.785. A 200 GPH filter is rated at about 757 litres per hour. To go from L/h to GPH, divide by 3.785, so a 1,000 L/h filter is about 264 GPH. On US packaging, GPH means US gallons per hour.
Sources
- NIST Handbook 44 (2026), Appendix C: General tables of units of measurement. US gallon = 231 cubic inches; inch = 2.54 cm; pound = 0.45359237 kg; grain = 64.79891 mg.
- NIST Special Publication 811, Appendix B.8: Factors for units listed alphabetically. UK (imperial) gallon = 4.54609 L; °C = (°F − 32) ÷ 1.8.
- U.S. Geological Survey, Hardness of water. Soft 0–60, moderately hard 61–120, hard 121–180 and very hard over 180 mg/L as calcium carbonate.
- Wikipedia, Hardness of water. German degree = 10 mg/L CaO = 17.848 ppm; 1 grain per US gallon = 17.118 ppm.