Skip to content
CalculatorGeek

Keto Calculator

Updated Oct 2026
Enter the daily energy value used by this scenario.
Enter the percentage used by this scenario.
Use the value defined by the food-label method you follow; net carbohydrate is not a standardized FDA label line.

Guest calculations stay on this device. Signed-in results sync privately.

Your result

Fat grams remaining after protein and net carbohydrate

Enter your values, then calculate to see a verified result.

Inputs usedReview the information used for this result.
Full calculation and sourcesReview the equation, normalized inputs, assumptions, and version.

Versioned calculationFormula v1.0.0

Formula definitionUnit-normalized calculationFormula v1.0.0

What is calculated

Daily protein, net carbohydrate, and remaining fat grams for one explicit calorie target.

Method

Protein uses the selected calorie percentage, net carbohydrate uses 4 kcal/g, and fat receives the positive remainder at 9 kcal/g.

Important boundary

A macro split does not confirm nutritional adequacy or ketosis, and very-low-carbohydrate diets are not suitable for every person.

Result actions
1
Set the energy targetEnter the calories being allocated.2,000 kcal/day.
2
Reserve protein and carbohydrateApply protein percentage and selected net carbohydrate grams.20% protein and 25 g net carbohydrate.
3
Calculate the remainderConvert remaining calories to fat at 9 kcal/g.Reject non-positive remainders.

Interpretation

g/day is the fat remainder for the entered assumptions.

Protein and net carbohydrate remain visible rather than hidden inside a preset.

The result does not establish ketosis or medical suitability.

Use this result

Method and test recordFormula v1.0.0
Recorded scope
health-nutrition-goals
Publisher
CalculatorGeek
Recorded review date
2026-10-04
Next source review
2027-10-04
Definition fixtures
3 configured scenarios
Published examples
3 shown below

Recorded method

Verify 4/4/9 arithmetic, calorie conservation, percentage outputs, and rejection of non-positive fat remainders.

These records describe the published model and reference tests. A test-case count is not a certification of every possible input or an independent specialist review. Editorial policy

Known limitations

  • The output does not measure blood ketones or prove nutritional ketosis.
  • Net carbohydrate is not a standardized FDA Nutrition Facts value.
  • Medication, diabetes, pregnancy, kidney, liver, pancreatic, lipid, and eating-disorder contexts require professional guidance.
  • Food quality, fiber, micronutrients, and fatty-acid profile are not captured by a macro split.

Method sources

Latest model update

2026-10-04 - Initial shared-system implementation with distinct workflow, evidence boundaries, fixtures, and authored support content.

Reference inputs and expected results

Up to 12 examples from the configured definition fixtures are shown. Expected values use the stated output units; invalid inputs are intended to be rejected.

CaseInputsExpected result
reference allocationDaily calorie target: 2000 kcal; Protein share of calories: 20 percent; Selected net carbohydrate: 25 gProtein: 100 g/day; Fat from the calorie remainder: 166.6666667 g/day; Resulting fat share: 75 % of kcal; Resulting net-carbohydrate share: 5 % of kcal (allowed numeric tolerance: 0.0001)
higher carbohydrate boundaryDaily calorie target: 1800 kcal; Protein share of calories: 30 percent; Selected net carbohydrate: 100 gProtein: 135 g/day; Fat from the calorie remainder: 95.5555556 g/day (allowed numeric tolerance: 0.0001)
invalid allocationDaily calorie target: 800 kcal; Protein share of calories: 50 percent; Selected net carbohydrate: 200 gReject invalid input: daily_calories

Report an issue with this tool. Include the page URL, units, expected answer, and steps to reproduce. Do not include sensitive personal information.

On this page

What the Keto Calculator answers

Build a low-carbohydrate macro scenario from an explicit calorie target, protein percentage, and net-carbohydrate amount.

Unlike a fixed 75/20/5 preset, the calculator exposes the two assumptions that determine the remaining fat allocation.

How to use the Keto Calculator

  1. Enter a daily calorie target from a separate maintenance or goal calculation.
  2. Choose the protein share.
  3. Enter the net-carbohydrate amount using a consistent label method.
  4. Review the resulting fat allocation and the safety limitations.

Formula, variables and calculation order

protein g = calories x protein% / 100 / 4.

fat g = (calories - protein kcal - net carbohydrate g x 4) / 9.

No ratio is labeled as universally ketogenic.

Worked example and boundary check

2,000 kcal, 20% protein, 25 g net carbohydrate

Protein is 100 g, net carbohydrate contributes 100 kcal, and the remaining 1,500 kcal equals 166.7 g fat.

Boundary check

A combination that consumes all calories before fat is assigned is rejected.

How to interpret the result

The primary result is the arithmetic fat remainder. It is not a clinical prescription or a test of metabolic state.

  • The output does not measure blood ketones or prove nutritional ketosis.
  • Net carbohydrate is not a standardized FDA Nutrition Facts value.
  • Medication, diabetes, pregnancy, kidney, liver, pancreatic, lipid, and eating-disorder contexts require professional guidance.
  • Food quality, fiber, micronutrients, and fatty-acid profile are not captured by a macro split.

Inputs, outputs and result meaning

Replaces fixed keto presets with editable assumptions, validates the calorie remainder, and does not claim to diagnose ketosis.

Inputs

Daily calorie target
Enter the daily energy value used by this scenario.
Protein share of calories
Enter the percentage used by this scenario.
Selected net carbohydrate
Use the value defined by the food-label method you follow; net carbohydrate is not a standardized FDA label line.

Outputs

Fat from the calorie remainder
Primary result in g/day.
Protein
Supporting result in g/day.
Selected net carbohydrate
Supporting result in g/day.
Resulting fat share
Supporting result in % of kcal.
Resulting net-carbohydrate share
Supporting result in % of kcal.

Frequently asked questions

Does this guarantee ketosis?

No. Ketosis varies with physiology, activity, total intake, measurement method, and clinical context.

Why is net carbohydrate editable?

The FDA label lists total carbohydrate, fiber, and sugar alcohols separately; net carbohydrate treatment varies.

Why not use a fixed 75/20/5 ratio?

No single macro ratio defines safety, nutritional adequacy, or individual response.

Does the calculator assess micronutrients?

No. Macro arithmetic does not evaluate fiber, vitamins, minerals, or fatty-acid quality.

Who should seek clinical advice first?

People managing diabetes medication or major kidney, liver, pancreatic, lipid, pregnancy, or eating-disorder concerns should use professional guidance.

Primary sources and evidence limits

Sources were checked 2026-10-04. They support the calculation method or its evidence boundary; they do not turn a planning scenario into medical nutrition advice.

From the guide library

Latest Health articles

View all articles

Health

What Is a Calorie Deficit?

Learn what a calorie deficit means, how it differs from energy balance, how to calculate it, and why short-term scale change is not pure…