CKD Parameter Calculator


This page helps you calculate various things about a Cyclic Ketogenic Diet (CKD) using JavaScript. The original calculator was done using CGI, but since we couldn't keep the program on a server, I modified the code slightly and re-did the program in JavaScript and put it here. After setting up your input parameters and running the script, a new page will open with your CKD information - including suggested macronutrient breakdown during the Ketogenic phase of the diet and the Supercompensation (carb-up) phase of the diet. The breakdown is done for different calorie levels based on body weight. You can print the parameters for future reference.


Sean Scoggins -- This page was his idea. Sean created the original CKD Parameter calculator using a CGI program written in C. He also wrote the original cover page (what you are reading right now.)

Lyle McDonald -- The formulas used to calculate these numbers were culled from his many informative posts to Dave Skinner's Lowcarb+Exercise mailing list. Lyle writes a very good nutrition article called Nutrimuscle at Cyberpump.

This program resulted from the Lowcarb+Exercise mailing list, which you can sign up for, if you are interested in Lowcarb dieting and training topics.


This page is constantly evolving, so if you have ideas for things to add/change/remove/etc. please let me know. If we could get all the formulas Lyle kindly keeps posting (and reposting) to the list in one place, it would be easier to point people with questions at the right answers. Since the calculator is written in JavaScript, you must have a JavaScript enabled browser (Netscape Navigator/Communicator or MS Internet Explorer) in order for this to work.

To Do


Follow the steps below, set your input values, and hit the button! Note: Parameters with a gray background are not needed to run the CKD Calculator. They are only needed for the Body Fat Approximation.

Start Here

Step One: Your Body Weight and Body Fat Percentage.

Enter your body weight (pounds or kilograms), and your estimated percent body fat. Floating point numbers are OK for both values if you need the precision. If you don't know your Body Fat percentage (shame on you!) then input your Waist Size (inches or centimeters) and Body Weight and we'll calculate an approximate value for you. This is only an approximation, so please use proper skinfold measurements in order to calculate an accurate Body Fat %.

Waist Size:
Body Weight:
Sex: Male
Percent Body Fat:

Step Two: Ketogenic Phase Protein and Carbohydrate Values

The next two input parameters represent daily Protein and Carbohydrate intake during the ketogenic phase. They both have "good" default values which should be satisfactory for most people. In order to reduce the loss of lean body mass while dieting, your daily protein requirements are generated based on your body weight and therefore don't change with total calorie levels. Daily Protein requirements are recorded in grams of Protein per pound of body weight. Different sources suggest 0.9 or 1.0 grams per pound are good numbers, but if you need more or less, change this field. Carbohydrate intake probably shouldn't be higher than 20 grams per day in order to maintain ketosis, but feel free to play around with it. Carbohydrate requirements are recorded in grams of Carbohydrate per day.

Daily Protein Intake: grams Protein/lb.
Daily Carbohydrate Intake: grams

Step Three: Ketogenic phase daily caloric intake

A good approximation for setting calories during the ketogenic phase is to use a multiple of your body weight. The calculator will provide you with five different daily calorie levels to let you experiment with how many daily calories provide sufficient fat loss. This field allows you to change the lowest multiple shown on the schedule. The default is 12 cal/lb./day, so the calculator will show daily caloric intake for 12-16 cal/lb./day. For MOST individuals, 15-16 cal/lb./day is around maintenance calories and 12-13 cal/lb./day is a nice caloric deficit to provide for healthy fat loss while maintaining lean body mass. Remember that a daily caloric deficit of more than 1000 calories is not recommended, can be unhealthy, and won't produce better results. More is not always better. With that in mind, change this value to see a wider range of daily values.

Minimum Daily Caloric Level Displayed: cal/lb.

Step Four: Supercompensation (carb-up) phase Values

For the carb-up, the amount of carbs you can ingest depends on (among many other things) the amount of LBM you have. Give the number of grams of carbs per kilo of lean mass you want to consume in both the first and second days of your carbup. Good values are provided, but if you find yourself not fully compensating, or adding fat, this form makes it easy to change a single parameter and get a new carb-schedule.

Carbohydrate intake (1st 24 hrs): grams Carb/kg LBM.
Carbohydrate intake (2nd 24 hrs): grams Carb/kg LBM.

Step Five: Calculate your schedule.

When you've gotten everything as you like it, press the "Compute CKD Parameters" button to get a schedule.


Joe Petrizzi,
Visit my home page.