Parenteral Nutrition Calculator
Formulate a TPN prescription by calculating dextrose, amino acid, and lipid volumes and calories. Includes glucose infusion rate (GIR) and NPC:N ratio checks.
About this calculator
This calculator works out a starting total parenteral nutrition (TPN) formulation -- the IV route used when a patient cannot be fed enterally -- from a caloric goal and a protein target. Protein (as amino acids) is calculated first, directly from a weight-based dose (commonly 0.8 g/kg/day for maintenance up to 1.5-2.0 g/kg/day in critical illness or burns) using a standard 10% amino acid solution. Protein calories are then subtracted from the total caloric goal to get the remaining "non-protein calories," which are split between lipid emulsion (a chosen percentage, typically 20-30%) and dextrose, using the standard energy densities of 3.4 kcal per gram of dextrose and 2 kcal per mL of a 20% lipid emulsion. Two safety checks are reported alongside the volumes: the glucose infusion rate (GIR, in mg/kg/min), which should generally stay under about 4-5 mg/kg/min in adults to avoid dextrose-driven hyperglycemia, and the non-protein-calorie-to-nitrogen (NPC:N) ratio, a standard check that calories and protein are proportioned appropriately for the patient's stress level (a commonly cited target is roughly 100-150:1 for typical patients, narrower around 80-100:1 for more catabolic, critically ill patients). GIR is calculated over the entered infusion duration, not always a full 24 hours -- cycled or overnight TPN (commonly run over 10-16 hours to free the patient from the pump during the day) delivers the identical daily dextrose dose in less time, which raises GIR for the same prescription, so the infusion-duration input matters even when nothing else about the formulation changes.
Because starting TPN too aggressively in a malnourished or chronically underfed patient can trigger refeeding syndrome (a dangerous shift of phosphate, potassium, and magnesium into cells as the body resumes carbohydrate metabolism), the calculator also flags when GIR exceeds 5 mg/kg/min -- though patients at genuine refeeding risk are often started far more conservatively (closer to 2 mg/kg/min) and advanced slowly with electrolyte monitoring, well below that flag's threshold, so a clean flag here does not rule out refeeding risk in a severely malnourished patient. A separate flag reports when the protein prescription alone already exceeds the caloric goal, leaving no calories to allocate to dextrose or lipid -- a mismatched prescription rather than a valid formulation. The Volume target input on this calculator is informational only in this version -- it does not automatically scale dextrose concentration or any other value to hit a specific total bag volume, so if a specific total volume is required, adjust dextrose concentration manually and re-check the resulting Total Macro Volume against it. Osmolarity, electrolyte content, trace elements, and vitamins are not modeled here at all; every TPN formulation requires pharmacy compounding review and, for peripheral administration, an osmolarity check well below the values a central-line formulation like this one can safely produce.
Medical Disclaimer
This calculator is for informational and educational purposes only. It is not a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider before making decisions about your health. Never disregard professional medical advice or delay seeking it because of results from this tool.
This tool estimates a starting point only and is not a validated clinical decision-support system. It does not account for every patient-specific factor (organ function, drug interactions, allergies, comorbidities, or current clinical status). Any dose, rate, or setting must be independently verified by the treating clinician and pharmacist or respiratory therapist against current institutional protocols, product labeling, and the patient's full clinical picture before being administered or applied.
Step 1 of 3
How to Use This Calculator
- Enter the patient's weight in kg and daily caloric goal in kcal.
- Set the protein goal in g/kg/day as prescribed.
- Enter the percentage of non-protein calories from lipid emulsion.
- Set the dextrose concentration (%) — higher concentrations need less fluid for the same dextrose dose; central lines allow up to D70, peripheral lines are limited to roughly D10.
- Enter the infusion duration (hours/day) — 24 for continuous TPN, fewer for cycled/overnight TPN — since this changes the calculated glucose infusion rate (GIR) for the same daily dextrose dose.
- Review the dextrose, amino acid, and lipid volumes, GIR, and the Refeeding Risk and Protein Exceeds Goal flags to check the prescription for internal consistency.
- Compare Total Macro Volume to the Volume target (informational only — not auto-scaled) and verify osmolarity before administration; confirm everything with the pharmacy and care team.
How the result changes with Caloric goal (kcal/day)
| Caloric goal (kcal/day) | Total calories (kcal/day) |
|---|---|
| 1,000 | 1,000 |
| 1,500 | 1,500 |
| 3,000 | 3,000 |
| 5,000 | 5,000 |
What each input means
- Weight
- Patient body weight in kilograms.
- Caloric goal (kcal/day)
- Target daily calorie delivery.
- Protein goal (g/kg/day)
- 0.8 = maintenance, 1.2 = moderate stress, 1.5-2.0 = critical illness or burns.
- Lipid % of non-protein calories
- Typically 20-30% of non-protein calories from lipid emulsion.
- Dextrose concentration (%)
- Central line allows up to D70; peripheral max ~D10.
- Volume target (mL/day)
- Reference only — not wired into the calculation in this version. It does not change dextrose, amino acid, or lipid volumes; compare the resulting Total Macro Volume against this target manually and adjust dextrose concentration if needed.
- Infusion duration (hours/day)
- Hours per day the TPN bag actually infuses. 24 = continuous; cycled/overnight TPN (commonly 10-16h) delivers the same daily dextrose dose faster, raising the glucose infusion rate (GIR).
What each result means
- Total calories (kcal/day)
- Total caloric delivery actually formulated (protein + lipid + dextrose calories). Matches the Caloric goal input unless the protein prescription alone exceeds it — see Protein Exceeds Goal.
- Amino acids (g/day)
- Total protein from amino acid solution.
- Dextrose (g/day)
- Grams of dextrose providing non-protein carbohydrate calories.
- Lipid (g/day)
- Grams of IV lipid emulsion.
- Amino acid volume (mL)
- Volume of 10% amino acid solution.
- Dextrose volume (mL)
- Volume of dextrose solution at specified concentration.
- Lipid emulsion volume (mL)
- Volume of 20% lipid emulsion.
- Total macro volume (mL)
- Combined volume of all macronutrient solutions.
- Glucose infusion rate (mg/kg/min)
- Target < 4-5 mg/kg/min for adults to avoid hyperglycemia.
- NPC:N ratio
- Non-protein calories to nitrogen ratio. Target 100-150:1 (80-100:1 in stress).
- Protein Exceeds Goal (0/1)
- 1 = the protein prescription alone already provides more calories than the caloric goal, leaving zero non-protein calories to allocate (dextrose and lipid volumes will be zero). This is a mismatched prescription — re-check the caloric goal and protein dose together.
- Refeeding Risk Flag (0/1)
- 1 = glucose infusion rate exceeds 5 mg/kg/min, a recognized trigger for refeeding syndrome, especially in malnourished or chronically underfed patients. Refeeding syndrome (hypophosphatemia, hypokalemia, hypomagnesemia, fluid overload) is a serious risk when TPN is started aggressively — malnourished or at-risk patients are often started at even lower GIR (closer to 2 mg/kg/min) and advanced slowly with electrolyte monitoring, well below this flag's threshold.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersWeight (kg) = 70, Caloric goal (kcal/day) = 2000, Protein goal (g/kg/day) = 1.2, Lipid % of non-protein calories = 25 = 7 input(s) provided
- Calculate Total calories2000 = 2000
- Calculate Amino acidsAmino acids = proteinGoalPerKg * weightKg84 = 84
- Calculate DextroseDextrose367 = 367
Engine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why doesn't entering a volume target change the calculated bag volume?
In this version of the calculator, Volume target is a reference figure only -- it is not wired into the dextrose, amino acid, or lipid calculations, so changing it has no effect on Total Macro Volume or any other output. If a specific total bag volume is required, adjust the dextrose concentration (a more concentrated solution uses less water for the same dextrose dose) and compare the resulting Total Macro Volume against your target manually.
What does raising the dextrose concentration actually change?
It does not change how many grams of dextrose the prescription calls for -- that's set entirely by the caloric goal, protein dose, and lipid percentage. What it changes is the volume that dextrose is dissolved in: a higher percentage concentration (say D70 instead of D50) delivers the same grams of dextrose in less fluid, which is exactly why more concentrated dextrose is used for fluid-restricted or central-line patients while peripheral lines are limited to much more dilute concentrations.
Why does the glucose infusion rate matter separately from the total dextrose dose?
GIR expresses dextrose delivery per kilogram of body weight per minute, which is what actually predicts whether a patient's insulin response can keep up -- the same total daily dextrose dose delivered to a larger patient, or delivered more slowly, produces a lower GIR than the identical dose in a smaller patient or compressed into fewer hours. This calculator computes GIR using the entered Infusion duration input (default 24 hours for continuous TPN), so cycled or overnight TPN run over fewer hours will show a correspondingly higher GIR for the same daily dextrose dose -- set the infusion duration to match the actual prescription. Staying under the commonly cited 4-5 mg/kg/min adult ceiling is one of the standard checks against dextrose-driven hyperglycemia.
Is the NPC:N ratio the same target for every patient?
No -- the commonly cited range narrows for sicker patients. A roughly 100-150:1 non-protein-calorie-to-nitrogen ratio is typical guidance for most patients, but critically ill or highly catabolic patients (major trauma, burns, sepsis) are often targeted closer to 80-100:1, reflecting their higher relative protein needs. This calculator reports the ratio for the entered values but does not know which target range applies to a specific patient.
What does the Refeeding Risk flag actually catch, and what does it miss?
It fires when the calculated GIR exceeds 5 mg/kg/min, the generally cited adult ceiling associated with dextrose-driven hyperglycemia and refeeding risk. It does NOT rule out refeeding syndrome when it's clear: patients with genuine refeeding risk (prolonged fasting, significant recent weight loss, chronic malnutrition, alcohol use disorder) are typically started far more conservatively -- closer to 2 mg/kg/min -- and advanced gradually with phosphate, potassium, and magnesium monitoring, well below this flag's 5 mg/kg/min threshold. Treat a clean flag as one data point, not clearance to start aggressively in a malnourished patient.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Nitrogen Balance Calculator
Calculate nitrogen balance from protein intake and 24-hour urinary urea nitrogen (UUN). Determine if a patient is in anabolic or catabolic state and find protein targets.
Clinical NutritionEnteral Feeding Calculator
Calculate tube feeding rate, daily volume, and protein delivery from formula specifications. Includes Holliday-Segar fluid needs and free water flush requirements.
Clinical NutritionMifflin-St Jeor Calculator
Estimate resting metabolic rate (RMR) and total daily energy expenditure using the Mifflin-St Jeor equation, the gold standard for clinical nutrition assessment.
More in Medical & Clinical.