Skip to main content
Evidence-Based Nutritional Biochemistry

Nutritional Science & Calculation Methodology

Full algorithmic transparency. At Unitrition, every nutrient sum, electrolyte ratio, and culinary kinetic model is derived from open mathematical formulas, peer-reviewed scientific literature (PubMed/NCBI), and validated open nutrition databases (USDA FoodData Central, CIQUAL, Open Food Facts).

Local In-Browser Computation Standard

100% Client-Side Computation (Zero Cloud Tracking)

Every mathematical formula detailed below executes locally within your browser’s JavaScript engine. Your custom meal plates, ingredient weights, and recipe configurations are computed on-device without requiring mandatory user accounts or uploading personal meal logs to cloud servers.

Mineral Chemistry & Dietary Balance

1. PRAL Model (Potential Renal Acid Load)

The potential dietary acid load of foods is calculated using the validated Remer & Manz (1995) formula, estimating potential net acid excretion from dietary acid-forming anions (protein nitrogen and phosphorus) versus base-forming cations (potassium, magnesium, and calcium):

// Remer & Manz (1995) validated food chemistry formula:
PRAL (mEq) = 0.49 × Protein(g) + 0.037 × Phosphorus(mg) - 0.021 × Potassium(mg) - 0.026 × Magnesium(mg) - 0.013 × Calcium(mg)
Negative PRAL (< 0 mEq): Potential Base-Forming

Characteristic of vegetables, fruits, herbs, and legumes rich in potassium and citrate salts that metabolize into bicarbonate precursors.

Positive PRAL (> 0 mEq): Potential Acid-Forming

Characteristic of cured cheeses, meats, poultry, fish, and certain cereal grains rich in sulfur-containing amino acids (methionine, cysteine) that oxidize to sulfate.

Interactive SandboxRemer & Manz 1995

PRAL Renal Acid Load Simulator

Presets:
× 0.49
× 0.037
- 0.021
- 0.026
- 0.013
Estimated Net Acid Load
-11.84mEq / porción
Potential Base-Forming
Acid Anions (+) :+3.21 mEq
Base Cations (-) :-15.06 mEq

Mineral Null-Safety Guarantee: Unitrition never treats missing mineral fields in databases as a silent 0.0 mg. If key electrolyte data is missing, calculations flag uncertainty rather than hallucinating false alkalinity.

Scientific Reference: Remer T, Manz F. Potential renal acid load of foods and its influence on urine pH. J Am Diet Assoc. 1995;95(7):791-797.PubMed [PMID: 791-797]
Carbohydrate Accounting & Quantification

2. International Carbohydrate Unit Standards

For standardized carbohydrate quantification across ingredients and recipes, Unitrition models available carbohydrates and supports the three international portion conventions:

Regional StandardGrams per UnitRegion & ReferenceConversion Formula
Ración (10g)10 gramosEspaña (SED), Reino UnidoCarbohidratos Asimilables / 10
Broteinheit / BU (12g)12 gramosAlemania (BE/KE), Europa CentralCarbohidratos Asimilables / 12
Carb Choice (15g)15 gramosEE.UU. (ADA Exchange List)Carbohidratos Asimilables / 15
Labeling Jurisdiction Law: EU 1169/2011 vs. US FDA 21 CFR § 101.9

Under European Regulation (EU) No 1169/2011, carbohydrates listed on European nutritional panels already represent available net carbohydrates (dietary fiber is declared on an independent row and must NEVER be subtracted). Deducting fiber from a European panel triggers the "Double-Subtraction Fallacy". Under US FDA rules, total carbohydrates encompass dietary fiber, requiring fiber deduction to compute net available carbs.

Carb Units Simulator

Universal Carbohydrate & Bread Unit Converter

In EU, this already equals available carbs
Reported independently in separate row
Net Available Carbohydrates45 g
Reglamento UE 1169/2011Sin deducción de fibra
Ración (10g)4.5España / UK (SED)
Bread Unit (12g)3.75Alemania / Central EU
Carb Choice (15g)3EE.UU. / Exchange
Protection against Double-Subtraction: Never deduct fiber from European food panels.
Open Full Carb Units Tool
Macronutrient Thermodynamics

3. Atwater General Factor System for Food Energy

Total metabolizable food energy in meals is computed using the standardized Atwater general factor system recognized by the FAO and USDA:

4 kcal/gProtein17 kJ/g
4 kcal/gCarbohydrates17 kJ/g
9 kcal/gFat / Lipids37 kJ/g
2 kcal/gDietary Fiber8 kJ/g (UE)
Food Processing Degree

4. NOVA 1–4 Food Processing Classification

Browse NOVA Catalog

Unitrition categorizes food items using the international Monteiro et al. standard (University of São Paulo / FAO / WHO), classifying foods based on the nature, extent, and purpose of industrial processing:

NOVA 1: Unprocessed or Minimally Processed

Edible parts of plants or animals (fresh fruits, vegetables, whole grains, raw legumes, eggs, fresh meat and fish without additives).

NOVA 2: Processed Culinary Ingredients

Substances extracted directly from group 1 foods or nature for cooking and seasoning (extra virgin olive oil, table salt, butter, vinegar).

NOVA 3: Processed Foods

Group 1 foods combined with salt, sugar, or oil for preservation or culinary enhancement (artisan sourdough bread, canned fish, aged cheeses).

NOVA 4: Ultra-Processed Foods (UPF)

Industrial formulations containing cosmetic additives not used in domestic kitchens (emulsifiers, artificial sweeteners, flavor enhancers, high-fructose syrups).

Culinary Kinetics & Digestive Physiology

5. Metabolic Synergy & Meal Sequencing Kinetics

Simulate in Meal Builder

The metabolic impact of a meal is not solely dictated by its static gram sums, but by the temporal order in which food matrices enter the gastrointestinal tract. Clinical literature (Shukla et al., 2015) demonstrates that ingesting dietary fiber and proteins/lipids before starches delays gastric emptying and modulates postprandial glucose curves:

// Meal sequencing kinetic pathway (Fiber ➔ Protein/Lipid ➔ Starch):
1. Fibra Soluble (10-15 min antes) ──► Formación de gel viscoso gástrico
2. Proteína + Lípidos               ──► Estímulo de colecistoquinina (CCK) y GLP-1 ──► Retraso vaciamiento gástrico
3. Almidones / Carbohidratos       ──► Hidrólisis retardada por alfa-amilasa       ──► Atenuación del pico glucémico ~35%
Key Empirical Finding (PubMed PMID: 26224300):

Consuming vegetables and protein 10 to 15 minutes before carbohydrates attenuates peak postprandial glucose excursions by approximately 35% and reduces insulin demand compared to consuming starches first, without altering total meal energy.

Alertness Neurochemistry & Digestion

6. Post-Meal Somnolence (Food Coma) & Tryptophan:LNAA Modeling

Low-Somnolence Foods

Postprandial drowsiness is modeled through competitive transport across the blood-brain barrier (BBB) via the LAT1 transporter between L-tryptophan and Large Neutral Amino Acids (LNAA: leucine, isoleucine, valine, phenylalanine, tyrosine):

High Somnolence Mechanism

High glycemic-load meals drive insulin-mediated uptake of branched-chain LNAAs into skeletal muscle. The increased plasma free tryptophan:LNAA ratio crosses the BBB with reduced competition, accelerating cerebral serotonin and melatonin synthesis.

Unitrition Alertness Formulation

Our Low-Somnolence filter recommends meal plates balancing BCAA-rich proteins, healthy lipids, and low glycemic-load starches to maintain stable amino acid ratios and support postprandial alertness.

Electrolyte Physiology & DASH Modeling

7. Electrolyte Dynamics & Potassium:Sodium Molar Balance

DASH Diet Foods

Cellular membrane potential and vascular tone rely upon the sodium-potassium ATPase pump. The World Health Organization (WHO) and DASH dietary guidelines recommend a dietary potassium-to-sodium molar ratio greater than 1.0 (ideally > 2.0):

// Molar ratio conversion (Potassium: 39.098 g/mol | Sodium: 22.990 g/mol):
K:Na Ratio = (Potassium[mg] / 39.098) / (Sodium[mg] / 22.990) = (Potassium[mg] / Sodium[mg]) × 0.588
Whole Foods vs Processed Impact:

Unprocessed whole foods (spinach, avocados, legumes) naturally feature K:Na ratios exceeding 10:1, whereas industrial ultra-processed foods (NOVA 4) invert this balance, contributing excess sodium chloride alongside depleted potassium and magnesium.

Culinary Modifiers & Starch Biochemistry

8. Retrograded Resistant Starch (RS3) & Organic Acid Buffering

Unitrition models the impact of culinary preparation on food matrix molecular structures through two established biochemical mechanisms:

1. RS3 Starch Retrogradation (PubMed PMID: 26693746)

Refrigerating cooked starches (potatoes, rice, oats) for 12–24 hours at 4°C promotes amylose recrystallization into type 3 resistant starch, decreasing rapidly digestible carbohydrates and increasing prebiotic butyrate fermentation in the colon.

2. Organic Acid Buffering

Adding weak culinary organic acids (acetic acid in vinegar or citric acid in lemon juice) lowers salivary and gastric pH, temporarily inhibiting alpha-amylase activity and decelerating starch enzymatic breakdown.

Mathematical Integrity & Invariant Safety

9. Mineral Null-Safety & The Zero-Value Fallacy Prohibition

Under Article III of the Unitrition Constitution, missing mineral data in open nutritional databases is never silently imputed as 0.0 mg. In public repositories like USDA or Open Food Facts, many packaged products report sodium but omit potassium or magnesium:

// The Zero-Value Fallacy Danger:

If nutrition software assumes Potassium = 0 mg when unanalyzed, the PRAL formula hallucinated a severe false acid load (+20 mEq) for plant foods that are actually alkaline. Unitrition resolves this with interval estimates (Est Engine), surfacing uncertainty badges rather than false zeroes.

Open & Verifiable Data Repositories

10. Validated Open Data Repositories

Unitrition analyzes exclusively open-access repositories published and validated by international agricultural and food safety agencies:

USDA FoodData Central

United States agricultural standard with mass spectrometry analysis for raw whole foods.

ANSES CIQUAL (Francia)

French national food composition table aligned with European Regulation (EU) No 1169/2011.

Open Food Facts

Global collaborative database powering barcode lookup and additive analysis for packaged foods.

PubMed / NCBI Indexed Evidence

11. Peer-Reviewed Scientific Literature

  1. Remer T, Manz F. (1995). Potential renal acid load of foods and its influence on urine pH. Journal of the American Dietetic Association, 95(7), 791-797. PMID: 791-797
  2. Shukla AP, Dickison LV, Coughlin N, et al. (2015). Food Order Has a Significant Impact on Postprandial Glucose and Insulin Levels. Diabetes Care, 38(7), e98-e99. PMID: 26224300
  3. Monteiro CA, Cannon G, Levy RB, et al. (2019). Ultra-processed foods: what they are and how to identify them. Public Health Nutrition, 22(5), 936-941. PMID: 30744710
  4. Afaghi A, O'Connor H, Chow CM. (2007). High-glycemic-index carbohydrate meals shorten sleep onset. American Journal of Clinical Nutrition, 85(2), 426-430. PMID: 17284739
  5. Sonia S, Witjaksono F, Ridwan R. (2015). Effect of cooling of cooked white rice on resistant starch content and postprandial glycemia. Asia Pac J Clin Nutr, 24(4), 620-627. PMID: 26693746
  6. Wolever TM, Jenkins DJ, Jenkins AL, Josse RG. (1991). The glycemic index: methodology and clinical implications. European Journal of Clinical Nutrition, 45(8), 331-343. PMID: 1748287
Algorithmic FAQs

12. Frequently Asked Questions

How does Unitrition calculate Potential Renal Acid Load (PRAL)?

Unitrition implements the canonical Remer & Manz (1995) formula: PRAL (mEq) = 0.49 × Protein(g) + 0.037 × Phosphorus(mg) - 0.021 × Potassium(mg) - 0.026 × Magnesium(mg) - 0.013 × Calcium(mg). Negative scores (< 0 mEq) represent potential base-forming foods, while positive scores (> 0 mEq) represent potential acid-forming foods.

Why must dietary fiber not be deducted from carbohydrates on European nutrition labels?

Under European Regulation (EU) No 1169/2011, carbohydrates declared on European food panels already represent available (net) carbohydrates. Dietary fiber is declared on an independent line. Subtracting fiber on a European label creates the Double-Subtraction Fallacy, incorrectly undercounting consumed carbohydrates.

What is a Carbohydrate Unit (Bread Unit / Ración) and how many grams is it?

A Carbohydrate Unit is a standardized portion metric for uniform carb counting. In Spain and the UK (SED standard), 1 Ración equals 10 grams of available carbohydrates. In Germany and Central Europe (Broteinheit / BE), it equals 12 grams. In the United States (Carb Choice), it equals 15 grams.

How does meal sequencing modulate postprandial glycemic kinetics?

Consuming dietary fiber and protein/lipids 10 to 15 minutes before starchy carbohydrates delays gastric emptying and stimulates incretin release, attenuating the peak postprandial glucose spike by approximately 35% compared to consuming starches first (Shukla et al., 2015, PMID: 26224300).

How does Unitrition handle missing nutrient values in open food databases?

Under the Mineral Null-Safety Invariant of the Unitrition Constitution, missing mineral fields in open databases are never silently treated as 0.0 mg. The calculation engine maps missing data to interval estimates, flagging uncertainty rather than projecting a false zero-mineral value.

Legal Notice & Consumer Software Declaration:

Unitrition is a consumer digital software utility and food composition calculator dedicated to the biochemical and culinary analysis of ingredients using open reference databases. PRAL calculations, Bread Units, Atwater Factors, and Meal Sequencing kinetics are delivered strictly for educational analysis. The platform prescribes no clinical therapies, computes no personal medical dosages, and replaces no licensed clinical consultation.