Enter pH values, volume, and choose your chemical — get an exact dose
pH measurements
Current pH
pH
Target pH
pH
Volume
Water buffering (alkalinity)
Total alkalinity
mg/L CaCO₃
Not sure? Pick your water
Alkalinity has the biggest effect on the dose. Use a test strip or your water report for the real number.
Chemical / Treatment agent
⚠ Estimates assume a closed tank. Stirring or aerating lets CO₂ escape, which raises pH on its own, so you may need less base. Always test after dosing.
⚠ Enter a current and target pH between 4 and 11, a volume greater than zero, and an alkalinity between 1 and 1,000 mg/L.
Dosing Results
—
Recommended Dose
—
grams
—
pH Shift
— units
Dose (teaspoons)
— tsp
Dose per 100 L
— g / ml
Volume Treated
— L
Starting pH
—
Target pH
—
pH Scale — Current vs Target
📖 How To Use
How to Use the Water pH Adjustment Calculator
Getting the right dose takes under a minute:
Measure your current pH
Use a calibrated pH meter or quality test strips. Take the reading in a fresh sample from the middle of the tank — not near the inlet or outlet. For accuracy, test at least twice and average the readings.
Enter your target pH
For drinking water, the US EPA recommends 6.5–8.5. This is a non-enforceable guideline for taste and pipe corrosion, not a health limit. Swimming pools aim for 7.2–7.6. Aquariums vary by species — most freshwater fish prefer 6.8–7.5.
Enter your tank volume and unit
Use litres, US gallons, or cubic metres. Use the actual water volume, not the tank's rated capacity, for the most accurate dose.
Enter your alkalinity
Alkalinity is how strongly your water resists a pH change, and it changes the dose more than anything else. Read it from a total alkalinity test strip or your water utility's report. If you don't know it, pick your water type from the list.
Choose your chemical
Select from the dropdown based on what you have available. For drinking water, use products certified to NSF/ANSI/CAN 60. Soda ash raises pH; baking soda mostly raises alkalinity and can't push pH much above 8.2. For lowering pH, citric acid is the safest household option.
Hit Calculate and dose gradually
Never add the full dose at once. Add 20–30% at a time, stir well, wait 30 minutes, and re-test. pH adjustments in water can overshoot due to buffering effects.
Safety first: Always add acid to water — never water to acid. Wear gloves and eye protection when handling concentrated acids or alkalis. For large tanks over 10,000 litres, consult a water treatment professional.
📐 The Formula
How pH Adjustment is Calculated
pH follows a logarithmic scale — each unit change represents a 10× change in hydrogen ion concentration. Adjusting pH is not simply linear; it depends on the water's buffering capacity (alkalinity), which resists pH change.
pH = −log₁₀[H⁺]
[H⁺] at pH 6 = 10⁻⁶ mol/L
[H⁺] at pH 7 = 10⁻⁷ mol/L (10× less acidic than pH 6)
[H⁺] at pH 8 = 10⁻⁸ mol/L (10× more alkaline than pH 7)
This calculator uses the carbonate equilibrium, the same chemistry water treatment engineers use. From your current pH and alkalinity it works out how much dissolved carbon dioxide and bicarbonate is in the tank. It then finds how much acid or base moves that balance to your target pH.
Alkalinity = CT × (α₁ + 2α₂) + [OH⁻] − [H⁺]
CT = total dissolved carbonate, fixed from current pH and alkalinity
α₁, α₂ = bicarbonate and carbonate fractions at a given pH (pK₁ 6.35, pK₂ 10.33)
Base or acid needed (eq/L) = Alkalinity at target − Alkalinity now
Soda ash and baking soda also add carbonate, so the calculator accounts for that.
Because of this, the dose is not a straight line. Moving pH from 6.5 to 7.5 takes far more chemical than moving it from 7.5 to 8.5 in the same water, and water with 200 mg/L alkalinity needs about twice the dose of water with 100 mg/L.
Chemical Reference Table
Chemical
Use
Form
Safety
Example dose per 1,000 L*
Soda Ash (Na₂CO₃)
Raise pH
Powder
Safe for potable water
~119 g
Baking Soda (NaHCO₃)
Raise pH gently
Powder
Very safe, food grade
Not practical (see note)
Hydrated Lime (Ca(OH)₂)
Raise pH strongly
Powder
Irritant — handle with care
~44 g
Caustic Soda 10% (NaOH)
Raise pH strongly
Liquid
Corrosive — professional use
~430 ml
Citric Acid
Lower pH
Powder
Food safe
~23 g
White Vinegar (5% acetic)
Lower pH mildly
Liquid
Safe, food grade
~410 ml
HCl 10%
Lower pH
Liquid
Corrosive — use PPE
~117 ml
Sulfuric Acid 35%
Lower pH strongly
Liquid
Highly corrosive — professional only
~38 ml
*Raising: pH 6.5 → 7.5. Lowering: pH 8.0 → 7.0. Both at 100 mg/L alkalinity in a closed tank at 25 °C. At pH 6.5 this water holds a lot of dissolved CO₂, so bases are used up converting it; aerating first can cut the dose sharply. Baking soda would need over 1.5 kg here because it mainly adds alkalinity, not pH. Actual doses also vary with temperature and chemical purity, so always dose in steps and retest.
🎯 When To Use
When You Need to Adjust Water pH
🚰
Drinking Water
The US EPA recommends pH 6.5–8.5 as a non-enforceable guideline. Outside this range, water can corrode pipes, leaching lead or copper, or taste unpleasant.
🏊
Swimming Pools
Target pH 7.2–7.6 for pools. Low pH causes eye and skin irritation; high pH reduces chlorine effectiveness and causes cloudy water.
🐠
Aquariums
pH requirements vary by species. Most tropical freshwater fish thrive at 6.8–7.5. Saltwater systems typically need 8.1–8.4.
🌱
Irrigation & Hydroponics
Plant nutrient uptake is maximised at pH 5.5–6.5 for most crops. High pH locks out iron, zinc, and manganese. Low pH can cause aluminium toxicity.
🏭
Industrial / Wastewater
Discharge regulations typically require effluent at pH 6–9. Incorrect pH can damage treatment equipment and violate environmental permits.
🏠
Rainwater Harvesting
Rainwater is naturally slightly acidic (pH 5.6–6.5). Tanks used for drinking need pH correction before use to prevent corrosion of plumbing.
❓ FAQ
Frequently Asked Questions
What is the ideal pH for drinking water?
The US EPA recommends drinking water pH between 6.5 and 8.5. This is a secondary, non-enforceable standard set for taste and corrosion, and WHO does not set a health-based limit for pH. Water outside this range is not automatically unsafe, but it can corrode pipes, affect taste, and reduce how well chlorine disinfects (chlorine works best below pH 8).
How do I raise the pH of my water tank naturally?
If your water is acidic because of dissolved CO₂ (common in well water), aerating it lets the CO₂ escape and raises pH without any chemicals. Otherwise, soda ash (sodium carbonate) is the usual choice. Baking soda mainly raises alkalinity and can't take pH much above 8.2. You can also run water through limestone or calcite chips, which slowly raise pH and add hardness. For drinking water, use products certified to NSF/ANSI/CAN 60.
How do I lower the pH of my water tank safely?
Citric acid (food grade) is the safest option for household tanks — it's food safe and biodegradable. White vinegar (5% acetic acid) works for small volumes. For larger tanks, food-grade hydrochloric acid (muriatic acid) or phosphoric acid is used commercially. Always add acid slowly, diluted, while stirring — never add water to concentrated acid.
Why does the dose calculation say to add more than I expected?
Water's alkalinity (its buffering capacity) absorbs added acid or base before the pH moves. The higher your alkalinity, the bigger the dose. Raising pH from below 7 also takes a lot of base because dissolved CO₂ has to be converted first. That's why this calculator asks for your alkalinity. If your real dose turns out smaller, CO₂ probably escaped while you mixed.
What is the pH adjustment calculator formula?
The calculator uses carbonate equilibrium chemistry. It works out the total dissolved carbonate from your current pH and alkalinity, then calculates the alkalinity needed at your target pH. The difference is the acid or base needed per litre. That's converted into grams or mL of the product you choose, based on its strength, and multiplied by your volume.
Is baking soda safe for adjusting drinking water pH?
Yes, if you use a product certified to NSF/ANSI/CAN 60 for drinking water treatment. Keep in mind that baking soda mostly raises alkalinity rather than pH, and it can't push pH much above 8.2. Each 10 g per 1,000 litres adds about 2.7 mg/L of sodium, which is small compared to normal dietary intake.
How long does it take for pH to stabilise after adding chemicals?
Allow at least 30–60 minutes after adding chemicals before retesting, especially in large tanks. In tanks with good circulation (pumps, aerators), equilibration may happen in 15–20 minutes. In stagnant storage tanks, wait up to 2 hours and stir the water before measuring. pH can drift further over 24 hours as dissolved CO₂ re-equilibrates.
Can I use this calculator for pool water pH adjustment?
Yes. In pools, soda ash raises pH, baking soda raises total alkalinity, and hydrochloric (muriatic) acid lowers pH. Enter your pool's total alkalinity, usually 80–120 mg/L. Cyanuric acid and borates add a little extra buffering, so treat the result as a starting point. The standard target is pH 7.2–7.6. Cross-check with your pool chemical manufacturer's dosing guide.
✅ Sources & Review
Sources and review
The pH ranges and chemistry on this page come from these references:
Carbonate equilibrium constants at 25 °C (pK₁ 6.35, pK₂ 10.33), as used in standard water chemistry texts.
Reviewed by John Mac, PE, Water Systems Specialist
Texas-licensed Professional Engineer with 13+ years in residential water storage and 180+ tank projects. John writes and reviews every calculator on this site.