iOS shortcut
AI Calories
Track calories. No app. No subscription.

AI Calories is a free shortcut for iPhone and iPad. Take a photo of your food, describe it or scan a barcode, check the result, and log calories and macros to Apple Health. No App Store app, no account, no subscription.
You need: an iPhone or iPad and the Shortcuts app. Photo, text and label also need Apple Intelligence; the barcode works without it.
Step-by-step setup
Never used a shortcut? You only set it up once. After that you start AI Calories like an app.
Find the Shortcuts app
Shortcuts is a free Apple app that comes installed on iPhone and iPad. Swipe down on the Home Screen and type “Shortcuts” in the search field.
Can’t find it? Then it was deleted. You can get it again for free in the App Store.
Add AI Calories
Open this page on your iPhone or iPad and tap the button. The Shortcuts app then shows “AI Calories v4 (US)”. Tap “Add Shortcut”.
iOS asks for your daily calorie goal while adding it. The suggestion is 2,200 Calories. Enter your own number or keep the suggestion.
iOS shows a warning?
- A note that the shortcut is not from Apple or accesses your data is normal for shared shortcuts. You can look at its actions first and then add it.
- If iOS won’t let you add it, for example with a message about “untrusted” shortcuts: update iOS, check that you are signed in to iCloud, and open the link again in Safari. Depending on your iOS version there is a separate switch for this in Settings under Shortcuts.
- If the link doesn’t work at all, you can download the file (below in “For power users”, under “Files and source code”).
First run: allow everything
Open the Shortcuts app and tap the “AI Calories v4 (US)” tile. The first time, iOS asks for permissions. This only happens once.
- Camera and Photos: allow when you first pick Camera, Photo Library or Nutrition Label.
- Apple Health: turn on all categories (Dietary Energy, Protein, Total Fat, Carbohydrates, Fiber) and tap “Allow”. iOS may ask more than once.
- Prompts from the Shortcuts app, for example whether the shortcut may look up Open Food Facts or share data: choose “Always Allow”. With “Allow Once” iOS asks again next time.
Tapped “Don’t Allow” by mistake?
- No problem, you can change it. See “Troubleshooting” below.
Log a meal
The shortcut asks: “How would you like to log your meal?” Pick one:
- 📷 Camera: take a photo of your plate.
- 🖼️ Photo Library: use a photo you already took.
- ✍️ Text Only: describe the meal, e.g. “2 eggs, buttered toast”.
- 🛒 Barcode: scan the package, then enter the amount in ounces (oz, or fl oz for drinks).
- 🏷️ Nutrition Label: take a photo of the label, then enter the amount.

The menu 
Text only Check the result
You see the dish with calories, protein, fat, carbs and fiber. Below that is your total for today and whether the meal still fits your goal.
Then pick: ✅ Log It, ✏️ Correct or ❌ Cancel.

Check Correct it if something is off
Tap “Correct” and only type what is different, e.g. “only half a portion” or “chicken, not pork”. Your original entry is kept.
You see the new values and can correct again or log it.
Log it
Tap “Log It”. The values go to Apple Health, and you see how many calories you have left today. In the Health app you find them under Nutrition.

Logged Start it faster
So you don’t have to open the Shortcuts app every time:
- Home Screen (iPhone and iPad): in the Shortcuts app, tap ⋯ on “AI Calories v4 (US)”, then ⓘ and “Add to Home Screen”.
- Action button (iPhones with an Action button): Settings › Action Button, swipe to Shortcut and choose “AI Calories v4 (US)”.
- Back Tap (iPhone): Settings › Accessibility › Touch › Back Tap › Double Tap, then choose “AI Calories v4 (US)”.
Screenshots show the German version; the US edition has the same screens in English.
What it looks like
Troubleshooting
The most common questions. Tap a question to see the answer.
I can’t find the shortcut after adding it.
Open the Shortcuts app and look under All Shortcuts. It is called “AI Calories v4 (US)”.
I denied a permission.
Apple Health: open the Health app, tap your profile picture at the top, then Apps › Shortcuts and turn the categories on.
Camera and Photos: Settings › Apps › Shortcuts (on older iOS versions directly Settings › Shortcuts).
Everything else: in the Shortcuts app, tap ⋯ on “AI Calories v4 (US)”, then ⓘ, and under Privacy tap Reset Privacy. iOS asks again on the next run.
Message “Apple Intelligence returned no usable answer” or an error from iOS
Apple Intelligence is busy or not available right now. Nothing was logged. Try again later or use the barcode, which works without AI.
Also check that Apple Intelligence is turned on in Settings.
Message “Couldn’t recognize any food”
The photo or text didn’t show any food. Try a brighter photo from above, or describe the meal as text.
Message “Product not found in Open Food Facts”
The free Open Food Facts database doesn’t know this barcode. Use Nutrition Label instead and take a photo of the label.
I logged something wrong.
In the Health app under Nutrition, open the value, e.g. Dietary Energy, then Show All Data and delete the entry. AI Calories adds five entries per meal, one per value.
Do I need Apple Intelligence?
For photo, text and label, yes. For the label, text recognition reads the text on your device, and Apple Intelligence then evaluates the values. Only the barcode works without AI, via Open Food Facts.
Are my photos uploaded?
Your photos are not sent to me or to third parties. Apple Intelligence processes them on your device or in Apple’s Private Cloud Compute.
How accurate is the photo estimate?
It is an estimate; portion size is the biggest source of error. For barcode and label, the values come from the manufacturer. You can check and correct everything before logging.
Does it cost anything?
No, AI Calories is free. It runs on iPhone and iPad.
At a glance
| AI Calories | Typical calorie apps | |
|---|---|---|
| Price | Free | Often freemium / subscription |
| Account | No | Usually yes |
| Data | In Apple Health | Often with the vendor |
| Install | One shortcut | App from the App Store |
Guidance only, not nutrition or medical advice. Barcode and label are more precise for packaged food.
Advanced
For power users
How the shortcut works and what you can adjust. You don’t need any of this for everyday use.
How the shortcut is built
- Menu with five paths: Camera, Photo Library, Text Only, Barcode, Nutrition Label.
- Camera and Photo Library: the photo is scaled to 1024 px (longest edge). Apple Intelligence estimates the dish, Calories, protein, fat, carbs and fiber from photo and text and returns them as JSON.
- Barcode: lookup on Open Food Facts (name and nutrients per 100 g), then the shortcut does the math with your amount in ounces. No AI.
- Nutrition Label: on-device text recognition, Apple Intelligence only reads the values, the shortcut calculates the portion.
- Review: values are rounded to whole numbers. Today’s total comes from Health (today’s Dietary Energy). The traffic light compares with your goal: fits, eat only half, or better skip it.
- Log: five Health entries, then the daily summary with what you have left.
About 400 actions. Deliberately hybrid: Apple Intelligence estimates, the shortcut does the math.
Settings you can adjust
- Daily goal: iOS asks when you add the shortcut (suggestion 2,200 Calories). Change it later in the shortcut (⋯), at the very top in the Number action.
- Suggested amount for barcode and label: 4 oz, in the two “How many ounces …” prompts.
- Photo size before analysis: 1024 px in the Resize Image action.
- Name: if you rename the shortcut, the Action button, Back Tap and Home Screen use the new name.
A new version is added as a separate shortcut. Redo your own changes there; iOS asks for the daily goal again.
Automations
AI Calories doesn’t come with automations of its own. You can trigger it yourself: in the Shortcuts app under Automation, create a personal automation, e.g. at a fixed time of day, and pick Run Shortcut with “AI Calories v4 (US)”.
The shortcut then asks for photo, text or barcode as usual, so you need to be at your device.
Which Health values are written
| Health value | Unit |
|---|---|
| Dietary Energy | kcal (shown as Cal) |
| Protein | g |
| Total Fat | g |
| Carbohydrates | g |
| Fiber | g |
All values are rounded to whole numbers first. Zero-calorie drinks can be logged. The only value read is today’s Dietary Energy, for your daily total.
The correction loop (up to ten times)
- Each correction is added to the previous ones; your original entry is kept.
- Only the amount changed (e.g. “half a portion”): Apple Intelligence returns a factor, and the shortcut multiplies all values by it.
- Other corrections: Apple Intelligence estimates again, with your original entry and all corrections. If that fails, the previous values stay.
- Meat swapped (e.g. “pork instead of beef”): Apple Intelligence only names the old and new kind and the amount. The shortcut calculates the difference from fixed values per 100 g. It caps the grams using the protein of the previous estimate, so an amount that is too large can’t inflate the values.
- Plausibility check: if after a new estimate 4 × protein + 4 × carbs + 9 × fat is more than 20 % above the Calories, the shortcut raises the Calories to that sum. It never lowers them.
- The loop runs at most ten times. If it runs out before you log, you get a message and nothing is logged.
Versions
v4 · November 2026
- Corrections work again: in v3 the shortcut closed silently after “Correct”.
- The shortcut does the math for a meat swap itself, from fixed values per 100 g; the grams are capped via protein.
- Plausibility check after corrections: raises Calories that are too low, never lowers them.
- Photos are scaled down before analysis, and portions are no longer underestimated as much.
- All values are rounded, and zero-calorie drinks can be logged.
- A clear message instead of a silent exit when Apple Intelligence returns nothing, the barcode isn’t found, or you have used up your corrections.
- US edition: Calories and ounces, and ounces are converted the same way regardless of your device’s number format.
v3 · July 2026
- New: barcode via Open Food Facts and nutrition label via text recognition.
- Multiple corrections in a loop. In v3, though, the shortcut closed silently after “Correct”; fixed in v4.
v2 · June 2026
- Camera, photo library and text, traffic light against the daily goal, correction and five Health values.
Files and source code
If the iCloud link doesn’t work: open the signed file on your iPhone or iPad, and the Shortcuts app asks whether you want to add it.
Do you like AI Calories? A coffee makes my day.
Prefer German, grams and kcal? German edition →
iOS shortcut · No account · No subscription · Data in Apple Health