Cal/d Get Cal/d

Learn The Math Behind the App

You have four variables:

From these variables, you derive:

TargetDate(X)=StartDate(midnight)+X+Total Calories EatenMax Calories Per Day days \text{TargetDate}(X) = \text{StartDate(midnight)} + \frac{X + \text{Total Calories Eaten}}{\text{Max Calories Per Day}} \text{ days}

Why does dividing calories by Max Calories Per Day give days? Unit cancellation:

Calories÷CaloriesDay=Calories×DayCalories=Days \text{Calories} \div \frac{\text{Calories}}{\text{Day}} = \text{Calories} \times \frac{\text{Day}}{\text{Calories}} = \text{Days}

The calories cancel out, leaving the time it takes to accrue that many calories at your daily limit — the same way distance ÷ speed gives travel time.

So if we want to find out how long we have to wait until we can eat 250 calories when we’ve eaten 3,000 calories since the start date, which is 2 days ago (let’s say June 26, 2026), and the max calories per day is 1,600, then:

TargetDate(250)=June 26, 2026 12:00 AM+250+30001600 days \text{TargetDate}(250) = \text{June 26, 2026 12:00 AM} + \frac{250 + 3000}{1600} \text{ days} TargetDate(250)=June 28, 2026 12:45 AM \text{TargetDate}(250) = \text{June 28, 2026 12:45 AM}

So if the Current Date is June 28, 2026 12:00 AM, Time to 250 Kcal Surplus would be 45 minutes.

That’s it.

Oh, and you can also enable an option to subtract Active Energy (also taken from Apple Health), and all that does is reduce your Total Calories Eaten by it, so all the dependent calculations immediately update.

Note on Remaining Calories: