Juicebox Podcast
Newly Diagnosed?

Estimators

A1c Estimator
Autoimmune Explorer
Basal Estimator
Bolus Estimator
Fat & Protein Estimator
Interactive Defining Diabetes
Settings Simulator

Guides

Advice for T1 Parents
Caregiver Burnout
Clinician Share
Episode FAQ
GLP with Type 1 Diabetes
Habit Lab
A Guide for Physicians
ACE/PCE Reflection Guide
Diagnosis Story
Grand Rounds Takeaways
Know the Signs
MEAL BOLT Tutorial
My Belly Hurts
Post-Meal Patterns
Pre Bolusing: The Juicebox Way
Thyroid
Understanding TSA

Series & Collections

Bold Beginnings
Pro Tip
Bolus 4
Small Sips
After Dark
Algorithm Pumping
Ask Scott & Jenny
Bold Beginnings in ASL
Cold Wind (Whistleblowers)
Defining Diabetes
Diabetes Myths
Diabetes Variables
Fat and Protein
GLP Meds
Grand Rounds
How We Eat
Math Behind
Mental Wellness
Omnipod 5
Pregnancy
Type 2

Site Links

The Lists
JuiceboxDocs
Private Facebook Group
Events
Blog
Giveaways
Contact
Disclaimers

Shop

Merch
Sponsors
Juicebox Podcast

I Hope You Enjoy This Tool

Join the Juicebox mailing list to get notified about new tools, series, and resources. Everything is free -- always.

No spam. Everything is free. Disclaimer

Bolus Estimator v4.0 — Tool & Complete Guide
Bolus Est. v4.0
↑ Tool What It Is Inputs Calculations Warsaw Method Timing Guardrails Data Limits
Bolus Estimator v4.0 · Warsaw Method · Educational Model

The Tool & How It Thinks

Use the simulator below, then scroll down for a plain-language explanation of every calculation, assumption, and guardrail built into it.

▸ Interactive Simulator — Educational Use Only
⚠️

Educational Use Only

This tool is a theoretical mathematical model provided "as-is" for educational illustration only. It is not a medical device, diagnostic tool, or clinical decision support system.

Outputs are unvalidated simulations. They must never be used as the basis for any medical decision. Always consult a qualified healthcare professional.

Bolus Estimator v4.0

Warsaw Method • Educational Model
Profile Variables Reset
mg/dL
mmol/L
×
×
×
×
×
% (0–100)
Meal & Biometrics Clear
×
×
×
×
×
Simulation Only — Not Medical Advice
Meal Wave
--
Warsaw Wave
--
Theoretical Requirement
--
🕒 Execution Strategy
▶ Show Calculation Steps
Logic Constraints Applied
    Theoretical model. Not a medical device. Not medical advice. Data stored locally only.
    Always consult a qualified healthcare professional before making any insulin-related decisions.
    Section 01

    What This Tool Actually Is

    The Bolus Estimator is a mathematical simulator — think of it like a very detailed calculator that models a complicated, multi-variable math problem. It is not connected to any medical system, does not know your actual body, and cannot learn from your results over time.

    What it does do is let you plug in numbers and watch how those numbers interact with each other according to a set of published formulas. The goal is education: understanding the variables that diabetes educators, endocrinologists, and people living with Type 1 diabetes think about when discussing insulin strategy.

    The single most important thing to understand: This tool produces theoretical numbers based on math. Those numbers are not prescriptions. They are not recommendations. They are a model — like a weather forecast that shows what might happen given certain conditions, not what will happen to your specific body on a given day.

    The simulator is built around the Warsaw Method, a real framework used in diabetes research and education that accounts for more than just carbohydrates when modeling insulin needs.

    Section 02

    The Inputs — What You're Telling It

    The simulator has two categories of inputs: your profile variables (the personal parameters that stay constant) and your meal and biometric data (the details of this specific scenario).

    A Profile Variables

    These describe the theoretical rules of your insulin model. Saved in your browser so you don't re-enter them each time.

    B Meal & Biometrics

    These describe the specific scenario — the meal, your current blood glucose, and whether you already have active insulin working.

    InputWhat It MeansExample
    ICRHow many grams of carbohydrate one unit of insulin is expected to cover. A ratio of 1:10 means 1 unit covers 10g of carbs.Enter 10
    ISFHow much your blood glucose is expected to drop per 1 unit of insulin. A value of 50 means 1 unit drops BG by 50 mg/dL.50
    Target BGYour goal blood glucose. Used to calculate whether a correction is theoretically needed.100 mg/dL
    Calculation CapA hard ceiling. If output exceeds this number, the simulator stops. Prevents silent production of very high numbers from bad inputs.25 units
    FPU Adj. FactorScales down the fat/protein portion. Default 50% is a conservative starting point.50%
    Carbs / Fat / ProteinThe macronutrients in the meal you're modeling, in grams.45g / 20g / 30g
    Current BGOptional. Your blood glucose at simulation time. If blank, the tool assumes you're exactly at your target.142 mg/dL
    IOBActive insulin from a previous dose. Subtracted from the meal wave — but not the fat/protein wave.1.5 units
    BG TrendWhether BG is stable, rising, or falling. Falling trends reduce the meal wave; rising fast adds wait time.↗ Rising Slowly
    Section 03

    How It Calculates — Step by Step

    When you press Simulate Strategy, the tool runs six sequential calculations. You can see every step in the results panel by clicking "Show Calculation Steps." Here's what each step means in plain language.

    Carb Dose — The Starting Point

    The most foundational insulin calculation. Divide total carbs by the ICR.

    Carb Dose = Carbs (grams) ÷ ICR
    Example: 45g ÷ 10 = 4.50 units

    Correction Dose — Accounting for High Blood Sugar

    If current BG is above your target, extra insulin is theoretically needed. The ISF tells the tool how much to add.

    Correction = (Current BG − Target BG) ÷ ISF
    Example: (142 − 100) ÷ 50 = 0.84 units
    If negative (BG is below target), clamped to zero.

    Net Meal Wave — Subtracting Active Insulin (IOB)

    If you have insulin still working from a previous dose, the tool subtracts it. The result is the Meal Wave — the immediate portion.

    Meal Wave = max(0, Carb Dose + Correction − IOB)
    Example: max(0, 4.50 + 0.84 − 1.50) = 3.84 units

    The IOB deduction only applies here. It does not reduce the fat/protein wave — those are independent effects.

    Trend Modifier — Adjusting for Direction

    A falling blood glucose is a safety concern. The tool reduces the meal wave when a downward trend is detected.

    Stable / Rising → no change (×1.0)
    Falling Slowly → reduce by 10% (×0.90)
    Falling Fast → reduce by 20% (×0.80)

    Rising trends don't change the dose — they change the timing suggestion.

    Warsaw Wave — Fat and Protein

    The distinctive part of the model — covered in full detail in the next section below.

    Total — Adding Both Waves Together

    Total = Meal Wave + Warsaw Wave
    If this exceeds your Calculation Cap, the simulator stops and shows an error.
    Section 04

    The Warsaw Method — Fat & Protein

    The Warsaw Method comes from research at the Children's Memorial Health Institute in Warsaw, Poland. It addresses a widely recognized limitation of carb-only insulin models: fat and protein also affect blood glucose, just more slowly and over a longer time window.

    When you eat a high-fat or high-protein meal — pizza, steak, a fast food burger — blood glucose can continue rising for hours after a standard carb dose has finished working. The Warsaw Method provides a framework for modeling that additional effect.

    The core idea: Fat and protein can be converted into a standardized unit called a Fat-Protein Unit (FPU). One FPU is roughly equivalent to the glucose-raising effect of 10 grams of carbohydrates — but spread out over several hours instead of peaking quickly.

    Step 1: Calculate FPUs

    Fat calories = Fat (grams) × 9 kcal/gram
    Protein calories = Protein (grams) × 4 kcal/gram
    FPU = (Fat cal + Protein cal) ÷ 100
    Example: (20g × 9) + (30g × 4) = 300 kcal ÷ 100 = 3.0 FPU

    If the result is less than 1.0 FPU, the Warsaw wave is discarded — the content is considered too small to meaningfully model.

    Step 2: Duration Lookup

    FPU ValueDurationWhat This Looks Like
    1.0 – 1.93 hoursLight fat/protein — e.g. a small portion of cheese
    2.0 – 2.94 hoursModerate — e.g. a chicken breast with vegetables
    3.0 – 3.95 hoursHigher — e.g. a fatty cut of meat with cheese
    4.0 – 4.96 hoursSignificant — e.g. pizza with extra toppings
    5.0 – 5.97 hoursHigh load — large portions of high-fat, high-protein foods
    6.0+8 hoursVery high — e.g. a large fast food combo meal

    Step 3: Convert to a Dose

    Raw carb equivalent = FPU × 10
    Adjusted equivalent = Raw × Adjustment Factor (%)
    Warsaw Dose = Adjusted equivalent ÷ ICR
    Example: 3.0 × 10 = 30g → 30g × 50% = 15g → 15 ÷ 10 ICR = 1.50 units over 5 hours
    Why is the default Adjustment Factor 50%? The full theoretical Warsaw dose (100%) is a mathematical maximum. Individual responses vary significantly. The 50% default is a conservative starting point. This is something to discuss with a healthcare professional familiar with this method.
    Section 05

    Pre-Bolus Timing — When to Eat

    The timing suggestion answers: not how much, but when. Fast-acting insulin takes time to start working, so taking it before eating (a "pre-bolus") can help match the insulin peak with the glucose spike from food.

    BG < 80 mg/dL → Eat immediately (0 minutes)
    BG between 80–200 → Wait = 8 + ((BG − 80) ÷ 120) × 12 minutes
    BG > 200 mg/dL → Wait 20 minutes (capped)
    Smooth ramp: at BG 80 the suggestion is ~8 min; at BG 200 it's ~20 min.
    • Rising fast: +5 minutes added (capped at 25 min total)
    • Falling (slow or fast): Resets to 0 — eat immediately to avoid a low
    • Stable or rising slowly: No additional modification
    This is a rough theoretical guide. Pre-bolus timing in real life depends on which insulin you use, how your body absorbs it, the meal composition, activity levels, and more. It's a starting point for discussion with your care team — not a precise instruction.
    Section 06

    Safety Guardrails — What Stops the Simulation

    These are logic checks designed to prevent the tool from producing outputs based on clearly problematic inputs — not medical safeguards.

    🚫 Critical Low Block Stops Simulation

    If Current BG is below 60 mg/dL, the simulator refuses to run. This is a medical situation requiring treatment first — not insulin dose modeling.

    ⚠️ Low Range Warning Warning Shown

    If Current BG is between 60–70 mg/dL, the simulation runs but displays a caution message. This range may indicate borderline hypoglycemia.

    🚫 Calculation Cap Stops Simulation

    If total output exceeds the Calculation Cap (default 25 units), the simulation stops. This prevents accidentally large inputs from producing very high numbers silently.

    🔒 Negative Value Clamping Silent Rule

    Any calculation that would produce a negative dose is automatically set to zero. If IOB exceeds the gross meal dose, the meal wave becomes zero — never a negative number.

    🔒 FPU Threshold Silent Rule

    If fat and protein produce less than 1.0 FPU (under 100 combined fat/protein calories), the Warsaw wave is set to zero. Below this threshold, the effect is considered too small to model meaningfully.

    Section 07

    Your Data — Where It Goes

    Profile variables (ICR, ISF, Target BG, Cap, Adjustment Factor) are saved in your browser's local storage. The data never leaves your device, is not sent to any server, and is not collected by anyone. It persists between sessions for convenience. Clearing your browser data removes it.

    Your meal data (carbs, fat, protein, current BG, IOB) is never saved — it clears every time you reload the page. Meal data is scenario-specific and should not persist as if it were a standing instruction.

    Section 08

    What This Tool Cannot Do

    Understanding what the Bolus Estimator cannot do is just as important as understanding what it can.

    ❌ It doesn't know your body

    It uses only the numbers you provide. If your ICR changes day to day, or you're sick, exercising, or stressed — the model doesn't know.

    ❌ It doesn't track outcomes

    It has no memory of previous simulations and cannot learn from what actually happened to your blood sugar.

    ❌ It doesn't control delivery

    No connection to any pump, CGM, or insulin delivery system. It produces numbers on a screen — nothing more.

    ❌ It doesn't model everything

    Stress, illness, exercise, hormones, site absorption, insulin age, food glycemic index — none of these are modeled.

    Most importantly: The numbers this tool produces are theoretical outputs of a math formula. They are not prescriptions. They are not validated clinical recommendations. Using this tool to make actual insulin dosing decisions — without guidance from a qualified healthcare professional — is dangerous and is explicitly not what this tool is designed for.

    The value of this tool is in education and conversation: understanding how the variables interact, exploring the math behind insulin strategies, and coming to appointments with your care team better informed about the concepts involved.


    Quick Reference

    The Full Calculation Flow at a Glance

    StepWhat It CalculatesFormula (Simplified)
    ACarb DoseCarbs ÷ ICR
    BCorrection Dose(BG − Target) ÷ ISF (min 0)
    CNet Meal Wavemax(0, A + B − IOB)
    DTrend ModifierC × 1.0 / 0.90 / 0.80
    EWarsaw Wave((Fat×9 + Prot×4) ÷ 100) × 10 × Adj% ÷ ICR
    FTotalMeal Wave + Warsaw Wave
    GPre-Bolus Timing8 + ((BG−80) ÷ 120) × 12 min ± trend
    ⚠ Important Disclaimer

    This tool is provided "as-is" with no warranty of any kind. It is a theoretical mathematical model for educational illustration only. It is not a medical device, not a diagnostic tool, and not a clinical decision support system. Outputs are unvalidated simulations that must never be used as the basis for any medical decision, including but not limited to the determination, alteration, calculation, or administration of insulin doses or any other medical treatment. No output from this tool constitutes medical advice. The creator(s) assume no responsibility or liability for any action taken or not taken based on information produced by this tool. Always consult a qualified healthcare professional before making any changes to diabetes management or insulin therapy.

    → Full Disclaimer at juiceboxpodcast.com/disclousure
    Skip to Content
    JUICEBOXPODCAST.com
    HOME FAKE
    Events
    Home
    EPISODES
    A1C and Blood Glucose Calculator
    Juicebox Docs - Best Endocrinologists
    Private Facebook Group
    American Sign Language
    Diagnosis Story
    Autoimmune Explorer
    Struggles To Solutions
    Clinician Share
    Trials
    T1D FDA Tracker
    Pre Bolusing: The Juicebox Way
    Fat and Protein Insulin Calculator
    Improving Type 1 Diabetes Care: A Guide for Physicians
    Juicebox for Docs: Grand Rounds Takeaways
    Caregiver Burnout
    GLP with Type 1 Diabetes
    Thyroid
    Understanding TSA
    My Belly Hurts
    Post-Meal Patterns
    Habit Lab
    MEAL BOLT: A Tutorial for Insulin Dosing
    Advice for T1 Parents
    Bold Beginnings
    Defining Thyroid
    Defining Diabetes
    Diabetes Pro Tip
    Small Sips
    Bolus 4
    Fat and Protein
    Algorithm Pumping
    Mental Wellness
    Ask Scott & Jenny
    Diabetes Variables
    After Dark
    The Math Behind
    Omnipod 5
    GLP Meds
    Pregnancy
    How We Eat
    Grand Rounds
    Cold Wind
    Podcast Quickstart
    Diabetes Myths
    Type 2 Diabetes
    Share Series
    The Lists
    BLOG
    Search
    Know The Signs
    Merch
    Sponsors
    0
    0
    JUICEBOXPODCAST.com
    HOME FAKE
    Events
    Home
    EPISODES
    A1C and Blood Glucose Calculator
    Juicebox Docs - Best Endocrinologists
    Private Facebook Group
    American Sign Language
    Diagnosis Story
    Autoimmune Explorer
    Struggles To Solutions
    Clinician Share
    Trials
    T1D FDA Tracker
    Pre Bolusing: The Juicebox Way
    Fat and Protein Insulin Calculator
    Improving Type 1 Diabetes Care: A Guide for Physicians
    Juicebox for Docs: Grand Rounds Takeaways
    Caregiver Burnout
    GLP with Type 1 Diabetes
    Thyroid
    Understanding TSA
    My Belly Hurts
    Post-Meal Patterns
    Habit Lab
    MEAL BOLT: A Tutorial for Insulin Dosing
    Advice for T1 Parents
    Bold Beginnings
    Defining Thyroid
    Defining Diabetes
    Diabetes Pro Tip
    Small Sips
    Bolus 4
    Fat and Protein
    Algorithm Pumping
    Mental Wellness
    Ask Scott & Jenny
    Diabetes Variables
    After Dark
    The Math Behind
    Omnipod 5
    GLP Meds
    Pregnancy
    How We Eat
    Grand Rounds
    Cold Wind
    Podcast Quickstart
    Diabetes Myths
    Type 2 Diabetes
    Share Series
    The Lists
    BLOG
    Search
    Know The Signs
    Merch
    Sponsors
    0
    0
    HOME FAKE
    Events
    Home
    EPISODES
    Folder: SUPPORT
    Back
    A1C and Blood Glucose Calculator
    Juicebox Docs - Best Endocrinologists
    Private Facebook Group
    American Sign Language
    Diagnosis Story
    Autoimmune Explorer
    Struggles To Solutions
    Clinician Share
    Trials
    T1D FDA Tracker
    Folder: GUIDES
    Back
    Pre Bolusing: The Juicebox Way
    Fat and Protein Insulin Calculator
    Improving Type 1 Diabetes Care: A Guide for Physicians
    Juicebox for Docs: Grand Rounds Takeaways
    Caregiver Burnout
    GLP with Type 1 Diabetes
    Thyroid
    Understanding TSA
    My Belly Hurts
    Post-Meal Patterns
    Habit Lab
    MEAL BOLT: A Tutorial for Insulin Dosing
    Advice for T1 Parents
    Folder: SERIES
    Back
    Bold Beginnings
    Defining Thyroid
    Defining Diabetes
    Diabetes Pro Tip
    Small Sips
    Bolus 4
    Fat and Protein
    Algorithm Pumping
    Mental Wellness
    Ask Scott & Jenny
    Diabetes Variables
    After Dark
    The Math Behind
    Omnipod 5
    GLP Meds
    Pregnancy
    How We Eat
    Grand Rounds
    Cold Wind
    Podcast Quickstart
    Diabetes Myths
    Type 2 Diabetes
    Share Series
    The Lists
    BLOG
    Search
    Know The Signs
    Merch
    Sponsors