Insulin Dosage Calculator

How many units of insulin do you need right now?

Enter your current blood glucose, target blood glucose, insulin sensitivity factor, insulin-to-carb ratio, and planned carb intake to get a calculated total insulin dose broken into correction and mealtime components. Review the result with your care team before acting on it.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Think of insulin dosing like adjusting the temperature in a room with two separate controls: one for where the room is now versus where you want it, and one for the heat you are about to add. The correction dose handles the gap between your current blood glucose and your target. The mealtime dose handles the carbohydrates you are about to eat, which will raise your blood glucose over the next few hours.

The correction dose divides the gap between current and target blood glucose by your insulin sensitivity factor. If your blood glucose is 180 mg/dL and your target is 100 mg/dL, and each unit of insulin drops you by 40 mg/dL, you need 2 units to close that gap. The mealtime dose divides your planned carbohydrate intake by your insulin-to-carb ratio. If you are eating 60 grams of carbs and one unit covers 15 grams, that is 4 units for the meal.

The total dose adds both components together. This is the standard bolus calculator formula used in clinical insulin pumps and structured self-management programs. The math is simple, but the inputs — particularly ISF and ICR — must come from your care team because they are calibrated to your body, your insulin type, and often your time of day.

When To Use This
Right tool, right situation

Use this calculator when you need a quick reference for a bolus dose before a meal or to correct a high blood glucose reading. It works best when you already know your ISF and ICR from a recent care team visit, your blood glucose reading is fresh and accurate, and you have not taken insulin in the last 3-4 hours.

This calculator is appropriate for adults with type 1 or type 2 diabetes who use rapid-acting insulin and have established dose parameters. It mirrors the logic in standard clinical bolus calculators.

Do not use this calculator when you are ill, under significant physical or emotional stress, or if your ISF and ICR have not been reviewed recently — all of these conditions alter your actual insulin response. Do not use it as a substitute for an insulin pump with IOB tracking if you use one. And do not use it for basal insulin calculations — this tool only covers rapid-acting (bolus) insulin.

Common Mistakes
Why results sometimes look wrong

The most common mistake is using a daytime ISF for a nighttime correction. ISF is not constant — most people are more insulin-resistant in the morning and more sensitive at night. Using the wrong ISF at the wrong time is how overcorrections happen. The consequence is nocturnal hypoglycemia, which can be dangerous and is often silent.

The second mistake is estimating carbohydrates loosely and treating the result as precise. A 20-gram error in a 60-gram meal is a 33% miss on the mealtime dose. Restaurant portions, mixed dishes, and sauces are notoriously hard to estimate. The mealtime dose this calculator returns is only as accurate as the carb count you enter — it does not compensate for guessing.

The third mistake, specific to this calculator, is ignoring insulin on board. If you took a correction dose 90 minutes ago and blood glucose has not responded yet, a second full correction will likely cause a crash. This tool has no IOB input by design — it is a reference calculation, not a pump controller. Before acting on the result, mentally account for any insulin still active from your last dose.

The Math
Worked examples and deeper derivation

Correction dose = (Current BG - Target BG) / ISF

Mealtime dose = Carbohydrate grams / Insulin-to-Carb Ratio

Total dose = Correction dose + Mealtime dose

If the correction dose is negative (meaning BG is already below target), it reduces the mealtime dose rather than adding to it. The displayed total is clamped at zero — you would not take a negative dose.

This formula assumes all variables are constant, which is a simplification. ISF varies with stress, illness, activity level, and time of day. ICR can differ between breakfast and dinner for many people. Insulin-on-board (active insulin from a previous dose) is not included here — if you dosed within the last 3-4 hours, your active insulin could significantly reduce the dose you need now. Insulin pump users typically have IOB subtracted automatically; pen users must account for it manually.

Pre-dinner correction and meal bolus
Current BG 187 mg/dL, target 110 mg/dL, ISF 40, 52 g carbs, ICR 15
Correction dose: (187 - 110) / 40 = 1.9 units. Mealtime dose: 52 / 15 = 3.5 units. Total: 5.4 units. This is a real-world evening scenario where both correction and meal coverage are needed — the split shows how much each component contributes, which helps identify if the overall number feels right.
Snack correction when already slightly below target
Current BG 95 mg/dL, target 110 mg/dL, ISF 40, 30 g carbs, ICR 15
Correction dose: (95 - 110) / 40 = -0.375 units (negative — BG is below target). Mealtime dose: 30 / 15 = 2 units. Total displayed: 1.6 units (negative correction offsets meal dose). This edge case illustrates why the correction and mealtime components are shown separately — if your BG is already low, the correction actually reduces your mealtime dose rather than adding to it.
Endurance athlete mid-race glucose management
Current BG 220 mg/dL, target 140 mg/dL, ISF 60 (exercise-adjusted), 25 g carbs, ICR 20
Correction dose: (220 - 140) / 60 = 1.3 units. Mealtime dose: 25 / 20 = 1.25 units. Total: 2.6 units. Athletes often use significantly higher ISF values during sustained exercise because muscles absorb glucose without insulin. This example shows how adjusting ISF alone can cut a dose nearly in half compared to a sedentary scenario with the same BG reading — which is exactly why ISF must be activity-specific.
Expert Unlock
The thing most explanations skip

The formula treats ISF as a linear constant, but physiologically, insulin sensitivity follows a curve — a high-glucose state is often accompanied by insulin resistance, meaning the effective ISF at 350 mg/dL may be meaningfully lower than the ISF at 180 mg/dL. Some clinical pump algorithms use glucose-dependent ISF adjustments. This tool does not model that curve, so large corrections at very high BG readings may underestimate the dose required to reach target.

What does this result actually mean for my next injection?

What is insulin sensitivity factor and how do I find mine?
Insulin sensitivity factor (ISF) is the number of mg/dL your blood glucose drops after one unit of rapid-acting insulin. Your diabetes care team calculates it during your initial setup or during a dose adjustment visit — it is not something you estimate on your own. A common starting point used in clinical practice is the 1,700 rule: divide 1,700 by your total daily insulin dose, but your actual ISF should come directly from your provider, not this formula.
Should I round my insulin dose to the nearest half unit?
Most insulin pens dose in 0.5 or 1 unit increments, so rounding is necessary for most people. Standard-pen users typically round to the nearest whole unit, while half-unit pens or insulin pumps allow finer precision. When rounding, most clinicians advise rounding down for correction doses when uncertain, since under-correction is safer than over-correction.
Why does this calculator show a lower dose when my blood sugar is already below target?
When your current blood glucose is below your target, the correction dose becomes negative — meaning your BG does not need correction and the negative value actually offsets part of your mealtime dose. The calculator applies this offset automatically so the total reflects only what is genuinely needed to cover your meal without pushing you further below target. If the total dose comes out very low or zero, that is intentional and correct given those inputs.

Need something this doesn't cover?

Suggest a tool — we'll build it →