Keto calculator

Calculate the fat grams left in a keto-style macro budget after your chosen net carbs and protein.

Privacy: runs in your browser

This tool processes your input in this browser. Inputs and results are excluded from analytics. Draft saving is optional and stays on this device; delete saved text with the draft controls. Loading text from a URL is optional and contacts that server; its URL and your IP address are visible to the server. When a button sends your result to another tool, it waits in this tab until that tool opens it, for up to a minute, and is then deleted.

Copy link includes the inputs you choose to share in the address. Anyone with that link can reopen them. Files and generated results are excluded. Password and key tools share settings only.

More options

Answer

…

More results
Compare with other numbers

Save the current answer, then change an input to compare. This clears when you leave.

Rounding and decimal places

Rounding changes how numbers are shown, not how they are calculated.

Automatic precision rounds answers for reading: up to six significant digits, with whole numbers kept in full. Thousands separators such as 1,000 are accepted; use a dot for decimals.

More
Quick calculator

Use +, −, ×, ÷, parentheses and %. This doesn’t change the tool above.

Keyboard shortcuts

Sharing and starting over

A copied link includes what you entered and your settings, so anyone with it can see them. Leave private text out. Files and results are not included; random draws are made again.

Start over puts the tool back to its starting values and closes any open file or device. Drafts you saved stay on this device until you delete them.

How it works

Uses 4 kcal per gram of net carbohydrate and protein, and 9 kcal per gram of fat. Net carbs, protein and energy targets are supplied by you; the calculator does not prescribe a diet or establish ketosis. Fiber, sugar alcohols, alcohol and food-specific energy factors are excluded. Medical ketogenic diets and diabetes medicines need individualized clinical guidance.

Next: Macro calculator

Next: Protein calculator

Worked example

On a 2,000 kcal daily target with 25 g of net carbs and 100 g of protein, 167 g of fat fills the remaining calories, for an energy split of 5% carbs, 20% protein and 75% fat.

How the fat remaining changes with daily calorie target

Other inputs keep their starting values: Net carbs (grams): 25; Protein (grams): 100. Examples only, not recommendations.

Daily calorie target (kcal)Fat remaining (grams)
1,00055.555556
2,000166.666667
4,000388.888889
Cite this page

ToolOctopus. “Keto calculator.” Updated . https://tooloctopus.com/keto-calculator.

Add an access date if your instructions require one.

Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.

Find a tool

Type a task, a unit pair, a sum or a time zone. ↓ to choose, Enter to open.