NPK Calculator: Stop Guessing — Exact Ratios for 5 Crops
Stop guessing your NPK ratios. Free calculator with exact nutrient formulas for tomatoes, lettuce, strawberries, basil, and herbs — adjusted by growth stage, with PPM targets and mixing instructions.

Key point: The three numbers on every fertilizer label — nitrogen (N), phosphorus (P), and potassium (K) — are not a recipe. They are a ratio, and the optimal ratio changes with every crop, growth stage, and growing system you use. A lettuce seedling in deep water culture needs a fundamentally different nutrient balance than a tomato in full fruit set. An NPK calculator bridges that gap: it translates crop-specific research into exact grams and PPM targets for the volume of solution you are mixing. This guide explains the science behind NPK ratios, provides research-backed targets for popular crops and growth stages, and walks you through using Truleaf's Nutrient Manager to get a personalized recipe in under a minute.
What NPK actually means
Every commercial fertilizer displays three numbers separated by dashes — something like 10-10-10 or 4-18-38. These represent the percentage by weight of three macronutrients:
- N (Nitrogen): Drives leaf growth, chlorophyll production, and protein synthesis. It is the nutrient plants consume in the largest quantity.
- P (Phosphorus): Supports root development, energy transfer (ATP), and flowering. Essential for cell division in young and reproductive tissue.
- K (Potassium): Regulates water movement, enzyme activation, and stress tolerance. Critical during fruiting, when potassium uptake can exceed nitrogen uptake by a factor of two.
A 10-10-10 fertilizer contains 10% nitrogen, 10% phosphorus (expressed as P₂O₅), and 10% potassium (expressed as K₂O) by weight. The remaining 70% is filler, carrier material, and other compounds.
The label math confusion
One of the most common errors in fertilizer calculation is confusing elemental values with oxide values. Fertilizer labels in most countries report phosphorus as P₂O₅ and potassium as K₂O, not as pure elemental P and K. The conversion factors are:
- P₂O₅ to elemental P: multiply by 0.4364
- K₂O to elemental K: multiply by 0.8302
So a "10-10-10" fertilizer actually contains 10% N, 4.36% elemental P, and 8.30% elemental K. If you are entering numbers into a calculator or comparing PPM targets from academic research (which always uses elemental values), you need to convert first. Truleaf's Nutrient Manager handles this conversion automatically — you select your fertilizer products and the calculator works with the elemental content directly.
Why NPK ratios change with every crop and growth stage
A single NPK ratio cannot serve all crops. The original Hoagland solution — developed in 1950 at UC Berkeley and still the baseline reference for hydroponic research — provides N 210 ppm, P 31 ppm, K 235 ppm, Ca 200 ppm, and Mg 48 ppm. That formulation works reasonably well for lettuce and herbs in a research setting. It does not work well for tomatoes in fruit set, where potassium demand spikes dramatically, or for strawberries, where the K:N ratio is roughly 3:1.
What the research shows: tomato nutrient uptake across growth stages
One of the most detailed studies on stage-specific nutrient demand tracked cherry tomato (Solanum lycopersicum var. cerasiforme) nutrient uptake in a closed hydroponic system. The results show how dramatically demand shifts:
| Growth stage | Duration | N uptake | K uptake | P uptake | Approx. NPK ratio |
|---|---|---|---|---|---|
| Transplanting | Days 0-12 | <3 mg/L/day | <3 mg/L/day | <3 mg/L/day | Balanced, low demand |
| Vegetative | Days 14-33 | Rising | Rising | Rising | N-dominant (~7-9-5) |
| Flowering | Days 34-51 | Moderate | Rising fast | Moderate | Shifting to K (~5-15-14) |
| Fruiting | Days 52-115 | ~13.5 mg/L/day | ~25 mg/L/day | ~1 mg/L/day | K-dominant (1:0.07:1.9) |
At peak fruiting, potassium uptake is roughly twice nitrogen uptake and 25 times phosphorus uptake. Recent work on automated systems that detect growth stage and adjust nutrient dosing accordingly has achieved over 97% accuracy in stage-specific delivery, suggesting meaningful precision gains over static EC-based feeding.
This is why a calculator matters: you cannot look at a single fertilizer bag and know whether the ratio inside is appropriate for what your plant needs right now.
NPK targets by crop
The following targets are derived from peer-reviewed research and represent the nutrient concentration ranges that produce healthy growth in hydroponic systems. Soil growers should treat these as directional — soil buffer capacity, organic matter, and microbial activity all modify actual availability.
| Crop | Growth stage | N (ppm) | P (ppm) | K (ppm) | EC (mS/cm) | pH |
|---|---|---|---|---|---|---|
| Lettuce | Seedling | 100-120 | 20-30 | 100-130 | 0.8-1.2 | 5.5-6.5 |
| Lettuce | Vegetative | 150-180 | 30-40 | 180-210 | 1.2-1.8 | 5.5-6.5 |
| Basil | Seedling | 80-100 | 15-25 | 80-100 | 0.6-1.0 | 5.5-6.5 |
| Basil | Vegetative/Production | 130-160 | 25-35 | 150-200 | 1.0-1.6 | 5.5-6.5 |
| Tomato | Vegetative | 150-180 | 30-45 | 180-220 | 2.0-3.0 | 5.5-6.2 |
| Tomato | Flowering | 130-160 | 40-55 | 220-280 | 2.5-3.2 | 5.5-6.2 |
| Tomato | Fruiting | 120-150 | 35-50 | 250-350 | 2.5-3.5 | 5.5-6.2 |
| Spinach | Vegetative | 140-180 | 25-35 | 170-220 | 1.4-2.2 | 5.8-6.5 |
| Strawberry | Vegetative | 130-160 | 40-55 | 200-260 | 1.4-2.0 | 5.5-6.2 |
| Strawberry | Fruiting | 156-172 | 54-63 | 484-543 | 2.0-2.8 | 5.5-6.2 |
Notice how strawberry fruiting demands a K concentration three times higher than its N concentration. Using a generic "balanced" fertilizer during this stage would severely limit fruit size and quality.
These numbers are built into Truleaf's Nutrient Manager — select your crop, choose the growth stage, and the calculator fills in the research-backed targets automatically.
Advanced NPK Fine-Tuning by Crop and Stage
The general targets in the table above are starting points. Fine-tuning requires understanding how individual crops respond to nutrient concentration adjustments beyond the standard ranges.
Lettuce: pushing density without tip burn
Lettuce tip burn is almost always a calcium transport failure, not a calcium deficiency in the solution. At EC above 1.6 mS/cm, increase air movement around the canopy and maintain relative humidity below 80% before raising Ca PPM. If tip burn persists, reduce overall EC by 0.2 mS/cm rather than adding more calcium — the osmotic stress from high EC often restricts Ca movement more than low Ca concentration does.
For maximum leaf density, maintain the N:K ratio at approximately 1:1.2 during the final two weeks before harvest. This maintains turgor without excess vegetative stretch.
Tomato: the potassium inflection point
The transition from vegetative to flowering is the single most important ratio adjustment in tomato production. When the first flower truss is visible, begin shifting K upward by 10-15% per week over three weeks. Do not make the shift abruptly — a sudden K spike can temporarily suppress Ca and Mg uptake, triggering blossom end rot on the first fruit set.
During heavy fruiting with more than three trusses loaded simultaneously, potassium uptake can reach 25 mg/L/day — nearly double the nitrogen demand. At this stage, the reservoir may need K supplementation (potassium nitrate or potassium sulfate) between full changes if EC drops faster than expected.
Strawberry: the K-heavy outlier
Strawberry is unusual among common hydroponic crops in its extreme potassium demand during fruiting. Target K concentrations of 484-543 ppm are not uncommon in productive systems. This requires a K:N ratio of roughly 3:1, which is the inverse of what most general-purpose nutrient products provide.
Use potassium sulfate as a K supplement rather than potassium chloride — chloride accumulation in closed systems reduces fruit sugar content and accelerates root browning. Monitor Mg closely when K is this high, as the K:Mg ratio should not exceed 8:1 to avoid magnesium deficiency symptoms.
Herbs: lower is better
Most culinary herbs (basil, cilantro, mint, parsley) produce the best flavor at lower EC than their maximum growth rate EC. At EC 1.0-1.2 mS/cm, essential oil concentration in basil is measurably higher than at 1.6+ mS/cm. The trade-off is slightly slower biomass accumulation, but for flavor-driven production, the lower range is preferred.
How to calculate NPK from a fertilizer label
If you want to understand the math behind any NPK calculator, here is the core formula:
PPM of a nutrient = (grams of fertilizer × nutrient percentage ÷ 100 × purity) ÷ liters of water × 1,000
Worked example
You have calcium nitrate (15.5% N, 19% Ca) and want to mix 10 liters of nutrient solution targeting 150 ppm nitrogen.
- Rearrange for grams needed: grams = (target PPM × liters) ÷ (nutrient % ÷ 100 × 1,000)
- grams = (150 × 10) ÷ (0.155 × 1,000) = 1,500 ÷ 155 = 9.68 grams of calcium nitrate
- This also delivers: 9.68 × 0.19 × 1,000 ÷ 10 = 183.9 ppm calcium as a secondary benefit
The challenge scales with every additional fertilizer. A typical hydroponic recipe uses 4-6 salts, each contributing to multiple elements. Solving for all of them simultaneously is a matrix algebra problem — which is exactly what the Nutrient Manager's advanced calculator solves for you, including cost optimization and constraint handling when fertilizers create an over-determined system.
Nitrogen form matters: NH₄⁺ vs. NO₃⁻
Most NPK content stops at total nitrogen. But the form of nitrogen — ammonium (NH₄⁺) versus nitrate (NO₃⁻) — has a measurable impact on growth.
Research on hydroponic lettuce found that the optimal ratio is 25% ammonium to 75% nitrate. This specific split increased fresh weight by more than 30% compared to other NH₄⁺:NO₃⁻ ratios across all growing systems tested — reaching 80 g per plant in hydroponics by day 49 — while also elevating essential amino acids including alanine, valine, leucine, and lysine.
Pure ammonium nitrogen is toxic at high concentrations and can drop root-zone pH rapidly. Pure nitrate works but leaves growth potential on the table. The ratio matters.
In practice, calcium nitrate (the most common base fertilizer in hydroponics) provides nitrogen almost entirely as nitrate. Adding a small amount of ammonium sulfate or using a pre-mixed A+B system that includes both forms achieves the optimal split. The Truleaf calculator's advanced mode lets you set NH₄⁺ and NO₃⁻ targets independently.
EC, pH, and why your NPK ratio can still fail
Getting the NPK numbers right is necessary but not sufficient. Two environmental factors can override even a perfectly mixed solution.
pH controls availability
Nutrient solubility changes with pH. Iron, manganese, zinc, copper, and boron become progressively less available as pH rises above 6.5. Phosphorus precipitates with calcium at high pH. In acidic conditions below 5.0, aluminum and manganese can reach toxic levels.
The optimal pH window for most hydroponic crops is 5.5 to 6.5. Within this range, all essential nutrients remain soluble and accessible. Outside it, you can have the perfect PPM on paper and still see deficiency symptoms because the nutrients are chemically locked out.
EC tells you total concentration, not composition
Electrical conductivity (EC) measures the total dissolved ion concentration in your solution. A rough conversion is approximately 1 mS/cm = 380 ppm of total dissolved solids. EC is useful for monitoring drift — if EC climbs above your target range, the solution is concentrating (usually from evaporation). If it drops, the plant is consuming nutrients faster than water.
But EC cannot tell you which nutrients are depleting. A solution could read 2.0 mS/cm with adequate potassium and excess sodium, or with perfect NPK and low calcium. This is why EC-only management, while common, is less precise than individual ion targets — and why research teams that tracked per-element uptake rates found that EC-based control systematically over- or under-supplies individual nutrients across growth stages.
The practical takeaway: use EC as a safety guardrail, not as your primary dosing signal. Set targets by PPM per element, then verify that the resulting EC falls within the recommended range for your crop.
Nutrient interactions: what excess of one blocks in another
Nutrients do not behave independently. Over seven decades of research have documented synergistic and antagonistic interactions between macro- and micronutrients. A meta-analysis covering 117 nutrient interaction pairs found 43 synergistic, 17 antagonistic, and 35 neutral relationships.
The interactions that matter most for growers:
- Excess phosphorus suppresses iron and zinc uptake. This is one of the most common hidden deficiencies — adding more P than the plant needs does not help growth and can trigger iron chlorosis in new leaves.
- Ammonium and potassium compete for the same root transporters. If you increase NH₄⁺ nitrogen without adjusting K, you may induce potassium deficiency even when K PPM looks adequate on paper.
- High calcium can suppress magnesium uptake, and vice versa. The Ca:Mg ratio in the root zone matters as much as the absolute concentrations.
- Excessive potassium can interfere with calcium and magnesium absorption, which is why K-heavy fruiting formulas sometimes produce blossom end rot (a calcium transport issue) in tomatoes.
This is why a well-designed NPK calculator does not just hit three numbers — it balances the entire nutrient profile to avoid antagonism. The Nutrient Manager accounts for secondary and micronutrient contributions from every fertilizer in the recipe, flagging potential conflicts before you mix.
Nutrient Interaction Matrix: What Blocks What
Understanding antagonistic relationships prevents one of the most frustrating problems in nutrient management: correcting a deficiency that was actually caused by an excess of something else.
The critical antagonisms
| If this is high... | ...it can suppress | Mechanism | Fix |
|---|---|---|---|
| Phosphorus (P) | Iron (Fe), Zinc (Zn) | Precipitation and root-surface binding | Reduce P; chelated Fe forms resist P-induced lockout |
| Ammonium (NH₄⁺) | Potassium (K⁺) | Shared root membrane transporters | Keep NH₄⁺ below 25% of total N; increase K if symptoms appear |
| Potassium (K⁺) | Calcium (Ca²⁺), Magnesium (Mg²⁺) | Competitive cation uptake | Maintain Ca:Mg:K ratio near 4:1:2 in solution |
| Calcium (Ca²⁺) | Magnesium (Mg²⁺) | Competitive cation uptake | Keep Ca:Mg below 5:1 |
| Sodium (Na⁺) | Potassium (K⁺), Calcium (Ca²⁺) | Non-selective cation channel competition | Use RO water if source Na exceeds 50 ppm |
| Iron (Fe) | Manganese (Mn) | Shared uptake pathways at low pH | Keep pH above 5.5; alternate Fe and Mn supplementation |
| Bicarbonate (HCO₃⁻) | Iron (Fe), Zinc (Zn), Manganese (Mn) | Raises root-zone pH, reducing micronutrient solubility | Acidify source water before mixing |
The critical synergisms
| Increasing this... | ...also improves uptake of | Notes |
|---|---|---|
| Nitrogen (N) | Potassium (K), Magnesium (Mg) | N and K are synergistic within normal ranges |
| Phosphorus (P) | Molybdenum (Mo) | Mo-dependent enzymes require P for activation |
| Sulfur (S) | Nitrogen (N) | Sulfur amino acids require both elements simultaneously |
| Iron (Fe) | Sulfur (S) | Fe-S clusters are critical for photosynthesis |
The practical consequence: when you see a deficiency symptom, check whether an excess of an antagonistic nutrient could be the cause before adding more of the deficient element. The nutrient deficiency chart helps diagnose the symptom; this matrix helps identify the hidden cause.
How to use the Truleaf Nutrient Manager
The Nutrient Manager offers two calculation modes:
Simple mode (recommended for most growers)
- Select your plant — choose from the plant database. Each plant has research-backed nutrient targets pre-loaded for every growth stage.
- Choose the growth stage — the interface previews the NPK ratio for each stage so you can see how demand shifts.
- Select your growing system — DWC, NFT, ebb and flow, drip, aeroponics, coco coir, rockwool, or organic soil.
- Enter your target volume — how many liters of nutrient solution you are mixing.
- Calculate — the solver selects the optimal combination of fertilizer salts, calculates exact gram amounts, estimates cost, and provides step-by-step mixing instructions.
The results include a nutrient analysis chart (target vs. actual PPM for N, P, and K), a cost breakdown by fertilizer, predicted EC, and a per-element accuracy score.
Advanced mode (for experienced growers)
The advanced calculator adds:
- Custom PPM targets for every element — N, P, K, Ca, Mg, S, Fe, Mn, Zn, B — with sliders and direct numeric input.
- Separate NH₄⁺ and NO₃⁻ nitrogen targets to control nitrogen form ratio.
- Water quality inputs — EC, pH, and water source presets (tap, RO/distilled, well).
- Fertilizer selection — choose exactly which products you have on hand, and the solver optimizes within those constraints.
- Optimization goals — minimize cost, maximize accuracy, prefer available products, limit the maximum number of fertilizers.
The advanced solver uses constraint-based optimization: if your selected fertilizers create an over-determined system (more constraints than degrees of freedom), it identifies and removes the least-contributing products, explains why, and delivers the best feasible solution.
Common NPK mistakes
Using the same ratio from seed to harvest. A vegetative tomato needs an N-dominant ratio around 7-9-5. A fruiting tomato needs K-dominant ratios approaching 1:0.07:1.9. Static feeding leaves yield on the table.
Ignoring nitrogen form. Total N is not the whole picture. The 25:75 NH₄⁺:NO₃⁻ split for lettuce produced 30% more biomass than either form alone. Most single-product fertilizers provide only one nitrogen form.
Adding more phosphorus than the plant uses. Excess P does not boost growth — it can suppress iron and zinc availability, creating secondary deficiencies that look like entirely different problems.
Treating EC as a nutrient target. EC measures total ion concentration. It cannot distinguish between beneficial nutrients, sodium buildup, or unused fertilizer salts. When EC is high and leaves are burning, adding more fertilizer makes the problem worse.
Skipping pH monitoring. A solution mixed to perfect PPM targets can become functionally deficient within hours if pH drifts outside the 5.5-6.5 window. Check pH after mixing and daily in recirculating systems.
Commercial-Scale Formulation Guide
Commercial operations mixing more than 100 liters per batch benefit from concentrated stock solutions rather than direct-to-reservoir mixing. The approach differs from small-scale home mixing in several important ways.
Stock solution basics
Divide your fertilizer salts into two concentrated stock solutions (commonly called A and B tanks):
- Tank A: Calcium nitrate + iron chelate + any micronutrient blends containing iron. These must be kept separate from phosphates and sulfates.
- Tank B: Monopotassium phosphate + potassium nitrate + magnesium sulfate + remaining micronutrients.
The reason for the split: calcium precipitates with phosphate and sulfate at high concentration. In a working-strength solution (1-3 mS/cm), concentrations are low enough that precipitation is minimal. In a 100x concentrate, calcium phosphate and calcium sulfate will form solid precipitates within hours, removing both elements from solution.
Concentrate ratios
For a 100x concentrate:
- Calculate your target recipe in grams per liter at working strength.
- Multiply every gram amount by 100 for Tank A salts and by 100 for Tank B salts.
- Dissolve each tank's salts in enough water to make 1 liter of concentrate per tank.
- Inject at a 1:100 dilution ratio (10 mL of each concentrate per liter of final solution).
Verify the final EC and pH after injection. Concentrate accuracy degrades if salts are not fully dissolved or if water temperature varies significantly between mixing and injection.
Reservoir management at scale
In recirculating systems above 500 liters, daily top-off without periodic full changes causes ion imbalance. Sodium, chloride, and sulfate accumulate because plants do not absorb them in proportion to other ions. The standard commercial practice is a full reservoir change every 7-14 days, with daily top-off of a maintenance-strength solution (50-70% of full-strength) between changes.
Monitor individual ion drift with weekly spot checks if possible. EC alone can mask serious imbalances — a reservoir reading 2.0 mS/cm might have lost most of its potassium to plant uptake while sodium from the source water has accumulated to fill the EC gap.
Frequently asked questions
What NPK ratio is best for tomatoes? During vegetative growth, tomatoes perform well with approximately 7-9-5 (N-P-K ratio). Once flowering begins, shift toward 5-15-14, and during active fruiting, potassium demand increases to roughly twice the nitrogen level.
What NPK does lettuce need in hydroponics? Lettuce grows best with 150-180 ppm N, 30-40 ppm P, and 180-210 ppm K during the vegetative stage, with EC between 1.2-1.8 mS/cm and pH 5.5-6.5. Using a 25:75 ammonium-to-nitrate nitrogen ratio can increase yields by up to 30% compared to pure nitrate.
How do I convert NPK percentages to PPM? Multiply the percentage (as a decimal) by the grams of fertilizer used, divide by the volume in liters, and multiply by 1,000. For example: 10 g of a fertilizer with 15% N dissolved in 10 L gives (0.15 x 10 / 10) x 1,000 = 150 ppm N.
What is a good EC for hydroponics? It depends on the crop. Leafy greens and herbs generally thrive at 1.0-1.8 mS/cm. Fruiting crops like tomatoes need 2.0-3.5 mS/cm. Seedlings should start at the lower end of any range and build up gradually as the root system develops.
Can I use the same nutrient solution for all my plants? You can, but you will compromise results. A general-purpose hydroponic solution (like a modified Hoagland at half strength) works across many crops during vegetative growth. However, crop-specific formulations — especially during flowering and fruiting — produce measurably better yields, flavor, and nutrient density.
What is the difference between N-P-K and N-P₂O₅-K₂O? Fertilizer labels use oxide form: P₂O₅ and K₂O. Research and calculators use elemental form: P and K. To convert: multiply P₂O₅ by 0.4364 to get elemental P, and K₂O by 0.8302 to get elemental K. A "10-10-10" label means 10% N, 4.36% elemental P, and 8.30% elemental K.
Start calculating
Guessing nutrient ratios costs you yield, wastes fertilizer, and makes troubleshooting harder when problems appear. The research is clear: crop-specific, stage-adjusted nutrient management outperforms static feeding at every scale.
Open the Truleaf Nutrient Manager, select your crop, and let the calculator translate the science into exact gram amounts for your next batch.
Already growing and seeing issues? The plant nutrient deficiency chart can help you diagnose symptoms, and our DWC guide and NFT guide cover system-specific nutrient management in depth.