Buying pre-mixed liquid hydroponic nutrients means paying a premium to ship heavy bottles that are roughly 90% water. Once you scale up your grow room or commercial greenhouse, those shipping costs eat directly into your operational budget. The real move top-tier growers make to cut nutrient costs by up to 80% is mixing raw, dry agricultural salts from scratch.
A DIY hydroponic nutrient formulation gives you total control over your crop’s diet — push vegetative growth early, taper nitrogen during flowering, and blast potassium when fruit sets. To do this safely and accurately, you need to understand the underlying hydroponic salt mixing math. Once you can run a basic ppm calculation for hydroponics, you can replicate any expensive brand-name nutrient line for a fraction of the cost.
Key Takeaways
- 1 ppm = 1 milligram of an element per liter of water (1 ppm = 1 mg/L).
- You calculate salt mass by dividing your target elemental ppm by the decimal percentage of that element in the raw salt.
- Fertilizer labels report phosphorus as P₂O₅ and potassium as K₂O, multiply by 0.4364 and 0.8302 respectively to get true elemental values.
- Never mix concentrated calcium salts with sulfates or phosphates in the same stock tank, use separate A and B tanks to prevent precipitation.
- Salt solubility drops as temperature drops, so cold storage areas need lower stock tank concentrations.
The Core Science Behind Custom N-P-K Formulations
A DIY hydroponic nutrient formulation relies on dissolving precise weights of specific elemental salts into water to hit target parts-per-million (ppm) concentrations. Master this and you can build custom N-P-K profiles tailored to the exact metabolic demands of your crop.

Plants don’t care whether their nitrogen comes from a bottle with a glossy label or a bulk bag of agricultural-grade calcium nitrate, they only recognize free ions dissolved in water. You’re feeding two groups: macro-elements (nitrogen, phosphorus, potassium, calcium, magnesium, sulfur) and micro-elements (iron, manganese, zinc, copper, boron, molybdenum).
Concentration is measured in parts per million (ppm). For all practical mixing purposes:
1 ppm = 1 mg/L = 0.001 g/L
If a tomato recipe calls for 200 ppm of calcium (Ca), you need 200 milligrams of elemental calcium in every liter of reservoir water. You can’t just weigh out 200 mg of a calcium salt — the compound also contains nitrogen, oxygen, and often water molecules locked in its crystal structure. You have to calculate the exact mass percentage of the target element inside the raw salt first.
If you need a refresher on how ppm interacts with electrical conductivity, see our guide on hydroponic pH and EC mastery.
Atomic Weights and Calculating Molar Mass
To figure out how much raw salt delivers your target ppm of an element, calculate the molar mass of the compound from the atomic weights of its parts.

Standard atomic weights for fertilizer elements:
| Element | Atomic Weight (g/mol) |
|---|---|
| Nitrogen (N) | 14.01 |
| Phosphorus (P) | 30.97 |
| Potassium (K) | 39.10 |
| Calcium (Ca) | 40.08 |
| Magnesium (Mg) | 24.31 |
| Sulfur (S) | 32.06 |
| Oxygen (O) | 16.00 |
| Hydrogen (H) | 1.01 |
Worked example – Calcium Nitrate, a staple of any DIY hydroponic nutrient formulation:
Formula: Ca(NO₃)₂ · 4H₂O (technical grade tetrahydrate — the “4H₂O” means four water molecules are locked into the crystal lattice)
- Ca: 1 × 40.08 = 40.08 g/mol
- N: 2 × 14.01 = 28.02 g/mol
- O (in nitrate): 6 × 16.00 = 96.00 g/mol
- H₂O (bound water): 4 × ((2 × 1.01) + 16.00) = 72.08 g/mol
Total molar mass = 40.08 + 28.02 + 96.00 + 72.08 = 236.18 g/mol
Mass percentage of calcium in this pure salt:
%Ca = 40.08 ÷ 236.18 = 0.1697 → 16.97%
Commercial greenhouse-grade calcium nitrate usually blends in a small amount of ammonium nitrate to improve solubility, which shifts the guaranteed analysis on the bag to 19% Ca and 15.5% N. Always use the manufacturer’s guaranteed analysis label when it’s available, it’s more accurate than the pure-compound calculation above.
PPM Calculation for Hydroponics: Step-by-Step
The core formula:
Required Salt (mg/L) = Target Element PPM ÷ Element Decimal Percentage
Worked example — a pepper crop needs 180 ppm of calcium (Ca).
Step 1 – Calculate the primary salt mass
- Target: 180 ppm Ca (180 mg/L)
- Salt assay: 19% calcium (0.19 decimal)
Required Calcium Nitrate = 180 ÷ 0.19 = 947.37 mg/L (0.947 g per liter)
Step 2 – Calculate the byproduct nitrogen contribution
Calcium nitrate is also 15.5% nitrogen. Since you added 947.37 mg/L of the salt:
Added Nitrogen = 947.37 × 0.155 = 146.84 ppm N
By hitting your 180 ppm calcium target, you’ve automatically added 146.84 ppm of nitrogen. If your target nitrogen is 200 ppm, you only need to add the remaining 53.16 ppm N from another salt, such as potassium nitrate (KNO₃).
This “byproduct” step is the part most beginner DIY formulations get wrong — they hit their target for one element and unknowingly overshoot another. Always tally the byproduct contributions from every salt before deciding your next addition.
Interactive Salt Mass Calculator

Enter your target element ppm and pick a salt — this returns how much salt you need for your reservoir, plus any “byproduct” elements it adds along with it.
Pick a crop profile and reservoir size — this builds a full A/B tank recipe using Calcium Nitrate, Potassium Nitrate, MKP, Potassium Sulfate, and Magnesium Sulfate, accounting for byproduct elements at each step.
Fertilizer labels report phosphorus as phosphate (P₂O₅) and potassium as potash (K₂O). Convert between the label value and the true elemental percentage.
Educational tool — always verify against your fertilizer’s guaranteed analysis label, which may differ slightly from the values used here. Wear gloves and eye protection when weighing dry salts.
Converting Fertilizer Labels: Oxide to Elemental Math
Commercial fertilizer bags rarely list elemental phosphorus (P) or potassium (K) directly. Due to legacy agricultural labeling laws, manufacturers report phosphorus as phosphate (P₂O₅) and potassium as potash (K₂O).

Converting phosphate (P₂O₅) to elemental phosphorus (P):
- Molar mass of P₂O₅: (2 × 30.97) + (5 × 16.00) = 141.94 g/mol
- Mass % of P in P₂O₅: 61.94 ÷ 141.94 = 43.64%
Elemental P = %P₂O₅ × 0.4364
Example: Monopotassium Phosphate (MKP), labeled 0-52-34, contains 52% P₂O₅. Elemental P = 52 × 0.4364 = 22.69% P
Converting potash (K₂O) to elemental potassium (K):
- Molar mass of K₂O: (2 × 39.10) + 16.00 = 94.20 g/mol
- Mass % of K in K₂O: 78.20 ÷ 94.20 = 83.02%
Elemental K = %K₂O × 0.8302
Example: The same MKP, at 34% K₂O. Elemental K = 34 × 0.8302 = 28.23% K
The A and B Tank Mixing System
Dry salts have to be dissolved in a specific sequence or kept in separate concentrated stock tanks to prevent chemical precipitation.

In concentrated stock solutions (like 100x liquid concentrates), calcium nitrate can’t be mixed directly with magnesium sulfate (MgSO₄) or monopotassium phosphate (KH₂PO₄). At high concentration, free calcium ions (Ca²⁺) react with sulfate (SO₄²⁻) and phosphate (H₂PO₄⁻) ions to form insoluble calcium sulfate (gypsum) or calcium phosphate. These precipitates cloud your liquid and settle as an unabsorbable white sludge.
Tank A: Calcium nitrate, ammonium nitrate, and iron chelates (Fe-DTPA, Fe-EDDHA) Tank B: Monopotassium phosphate, potassium nitrate, magnesium sulfate, potassium sulfate, and remaining trace micronutrients
When dosing your main reservoir: inject Tank A first, stir until fully diluted, then inject Tank B. Never combine A and B concentrates directly with each other — only in the final, dilute reservoir water.
Salt Solubility Limits by Temperature

Concentrated stock solutions are limited by the physical solubility limit of each salt in water. Dissolve too much dry salt and the solution saturates, leaving undissolved crystals at the bottom. Water temperature directly affects this limit, a stock tank mixed at room temperature (20°C / 68°F) in summer can drop crystals out of solution when temperatures fall at night in winter.
| Fertilizer Salt | Chemical Formula | Max Solubility (20°C) | Max Solubility (10°C) | Tank |
|---|---|---|---|---|
| Calcium Nitrate | Ca(NO₃)₂ · 4H₂O | 1,210 g/L | 1,020 g/L | A |
| Potassium Nitrate | KNO₃ | 316 g/L | 209 g/L | B |
| Monopotassium Phosphate | KH₂PO₄ | 226 g/L | 183 g/L | B |
| Magnesium Sulfate | MgSO₄ · 7H₂O | 710 g/L | 550 g/L | B |
| Potassium Sulfate | K₂SO₄ | 111 g/L | 92 g/L | B |
Pro tip: Potassium sulfate has a low solubility ceiling (111 g/L). If your Tank B formula needs high potassium and sulfur together, keep total K₂SO₄ concentration below 90 g/L to avoid crystallization during cold spells.
Crop-Specific Target PPM Tables
Leafy greens thrive on lower overall EC and relatively higher nitrogen; fruiting crops need a big jump in potassium and calcium during their generative stage.
| Element | Leafy Greens / Lettuce (Veg) | Tomatoes / Peppers (Fruiting) | Strawberries (Generative) |
|---|---|---|---|
| Nitrogen (N) | 150 ppm | 180 ppm | 100 ppm |
| Phosphorus (P) | 50 ppm | 50 ppm | 40 ppm |
| Potassium (K) | 200 ppm | 350 ppm | 180 ppm |
| Calcium (Ca) | 150 ppm | 200 ppm | 120 ppm |
| Magnesium (Mg) | 50 ppm | 60 ppm | 45 ppm |
| Sulfur (S) | 60 ppm | 80 ppm | 50 ppm |
| Iron (Fe) | 2.0 ppm | 3.0 ppm | 2.0 ppm |
| Manganese (Mn) | 0.5 ppm | 0.8 ppm | 0.5 ppm |
| Zinc (Zn) | 0.1 ppm | 0.3 ppm | 0.1 ppm |
| Copper (Cu) | 0.05 ppm | 0.1 ppm | 0.05 ppm |
| Boron (B) | 0.3 ppm | 0.4 ppm | 0.25 ppm |
| Molybdenum (Mo) | 0.05 ppm | 0.05 ppm | 0.03 ppm |
Essential Gear for Accurate Salt Mixing
Precision matters- a fraction of a gram off on micronutrients can cause serious crop toxicity.
1. Precision digital scale (0.01 g accuracy). Micronutrients like sodium molybdate or copper sulfate are often dosed in sub-gram quantities. Standard kitchen scales don’t have the resolution.
- The Pocket Gram Scale Size is 5.2 x 2.99 x 0.79 inch, Gram Scale allows you to weigh a maximum capacity of a 200g and th…
- How to Calibrated Gram Scale? 1.Turn on the scale and wait until the LCD display 0.00 then press and HOLD MODE Key for 3…
- Pocket Scale have easy touch buttons, large size digits and stark contrast LCD blue backlit display, makes it easy to re…
2. Magnetic heating stirrer. Dissolving high concentrations of cold-water-resistant salts by hand is slow. A magnetic stirrer creates a vortex that speeds dissolution, and built-in heating raises initial solubility.
- Corrosion-Resistant 316 Stainless Steel Top Plate: Ensures durability and excellent performance.
- Large Capacity for Various Needs: With a capacity of up to 3000ml, it is ideal for home brew yeast starters.
- Easy-to-Use Design: Offers stepless adjustable stirring speed, allowing for speed regulation up to 3000 rpm.
3. Opaque HDPE stock containers. Light degrades iron chelates quickly, and cheap plastics can crack under heavy concentrated brine. Use opaque, chemical-resistant HDPE carboys for stock storage.
- FREEZER SAFE FOOD STORAGE JARS: Durable HDPE plastic ice cream containers handle -100° F to 180° F, ideal for batch prep…
- LEAK RESISTANT TRAVEL READY SET: These icecream containers with lids each hold a full quart ice cream containers, yet st…
- FAMILY SIZE FREEZER FLEXIBILITY: Stock your freezer with ice cream pints with lids plus generous ice cream quart contain…
Safety Notes
A few of these compounds are worth handling with real care, not just precision:
- Wear gloves and eye protection when weighing dry salts — several (potassium nitrate, copper sulfate) are irritants, and fine powder is easy to inhale accidentally.
- Potassium nitrate is an oxidizer — store away from combustible materials and open flame.
- Label every stock tank clearly with contents and mix date, especially if children or pets have any access to your grow space.
- Never mix Tank A and Tank B concentrates together directly — beyond the precipitation problem, some concentrated fertilizer reactions can generate heat.
- Keep a copy of the safety data sheet (SDS) for each raw salt you buy — most suppliers provide these on request or on their product page.

Frequently Asked Questions
Why is phosphorus listed as P₂O₅ and potassium as K₂O on fertilizer bags?
Commercial fertilizer regulations require reporting phosphorus as phosphate (P₂O₅) and potassium as potash (K₂O). Multiply P₂O₅ by 0.4364 to get elemental P, and K₂O by 0.8302 to get elemental K.
Can I mix micronutrients into either Tank A or Tank B?
Micronutrients generally go into Tank B. The main exception is iron chelate (Fe-DTPA or Fe-EDDHA), which belongs in Tank A alongside calcium nitrate for chemical stability.
Why is sediment forming at the bottom of my stock tank?
Sediment forms when incompatible salts react (calcium binding with sulfates or phosphates) or when the water exceeds its temperature-dependent solubility limit. A cold storage area can cause dissolved salts to crystallize out overnight.
Should I formulate my own micronutrients from individual raw salts?
Sourcing bulk macro-salts (calcium nitrate, potassium nitrate, Epsom salt) yields big savings, but formulating individual micro-salts means measuring milligram fractions of compounds like sodium molybdate. A quality dry micronutrient premix for Tank B simplifies the math and reduces the risk of heavy-metal toxicity from a dosing error.
Related Reading
- Hydroponic pH and EC Mastery Guide (Add 1–2 more contextual internal links here to your vertical-tower or DWC cluster posts once you’ve merged the duplicate-content clusters — internal links from a high-traffic reference post like this one are valuable link equity to pass around the site.)
Explore More Free Hydroponic Calculators & Tools
Dialing in custom salt math is just the beginning. Check out our complete suite of free interactive hydroponic calculators, dilution charts, and setup tools designed to simplify your daily reservoir maintenance. Browse All Hydroponic Tools & Calculators →