Vitamin A intake calculator
Vitamin A is a fat-soluble micronutrient required for dim-light vision, epithelial integrity, immune function, and embryonic growth.
Run — free
Public-health tables do not quote a single adult number: they assign micrograms of retinol activity equivalents, or RAE, by age band and by sex, using Adequate Intake for infants and a Recommended Dietary Allowance from the first birthday onward. This vitamin A calculator looks up those Institute of Medicine and NIH dietary reference values from two inputs—age in years and sex—and returns the recommended daily intake in micrograms of RAE. Age must be a nonnegative finite number; a newborn is age zero, a four-month infant can be sent as a fraction, and a negative age is rejected as invalid input. Sex is male or female, with short forms accepted. The browser widget is free; a successful API item is billed at $0.002. Failed validation is not charged. The algorithm is a pure table lookup with no network, no model, and no clock, so identical requests always produce identical JSON.
How to use it
Enter your values in the form above. The tool checks them before calculating and shows the result on the same page.
Check your inputs
Use the labels and units shown next to each field. If something is missing or outside the allowed range, the page points to the field to fix.
Use it again or automate it
Use the browser tool for individual checks and the API when you need the same capability in an automated workflow.
What you can do with it
Get an answer now
Enter one set of values and see the result without building a spreadsheet or script.
Compare scenarios
Change one value at a time and rerun the calculation to understand what affects the result.
Automate repeated work
Use the API when the same calculation needs to run inside your product or workflow.
FAQ
How is recommended daily vitamin A calculated?
The engine looks up Institute of Medicine and NIH dietary reference values by age band and sex, returning micrograms of RAE per day. Infants use Adequate Intake (400 or 500 mcg RAE); from age one the table uses Recommended Dietary Allowance, splitting by sex from age fourteen (900 mcg RAE for males, 700 mcg RAE for females).
What happens if age is negative or not a number?
The request fails with invalid_input. Age must be a nonnegative finite number of years; zero is allowed for a newborn. Failed validation is not charged.
What is a microgram of RAE?
RAE means retinol activity equivalents. One microgram RAE equals one microgram of retinol, twelve micrograms of dietary beta-carotene, or twenty-four micrograms of other dietary provitamin A carotenoids. This calculator reports mcg RAE, not international units.
Is the vitamin A calculator free?
The browser tool runs free on your device. API calls use prepaid KIT balance at $0.002 per successful item; validation failures are not charged.
Does this include pregnancy or lactation targets?
No. Pregnancy and lactation have separate published DRI rows (for example 770 or 1300 mcg RAE in adults). This landing takes only age and sex and returns the non-pregnant table. It is educational, not medical advice.
For developers — API access
Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.
API endpoint
Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.
Call it from your stack
curl -X POST https://api.kit.forhosting.com/health/vitamin-a \
-H "Authorization: Bearer $KIT_KEY" \
-H "Content-Type: application/json" \
-d '{"age":30,"sex":"male"}'const res = await fetch("https://api.kit.forhosting.com/health/vitamin-a", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.KIT_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"age": 30,
"sex": "male"
})
});
const { task_id } = await res.json();import os, requests
res = requests.post(
"https://api.kit.forhosting.com/health/vitamin-a",
headers={"Authorization": f"Bearer {os.environ['KIT_KEY']}"},
json={
"age": 30,
"sex": "male"
},
)
task_id = res.json()["task_id"]<?php
$res = file_get_contents("https://api.kit.forhosting.com/health/vitamin-a", false, stream_context_create([
"http" => [
"method" => "POST",
"header" => "Authorization: Bearer " . getenv("KIT_KEY") . "\r\nContent-Type: application/json",
"content" => '{"age":30,"sex":"male"}',
],
]));
$task = json_decode($res, true);body := bytes.NewBufferString(`{"age":30,"sex":"male"}`)
req, _ := http.NewRequest("POST", "https://api.kit.forhosting.com/health/vitamin-a", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("KIT_KEY"))
req.Header.Set("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)Example request
{
"age": 30,
"sex": "male"
}Example response
{
"task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
"type": "health.vitamin_a",
"status": "queued",
"_links": {
"result": "/tasks/tsk_…/result"
}
}The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.
Pricing
Published price — no tokens, no invented credits. A failed task is never charged.
Errors
| HTTP | Code | Meaning |
|---|---|---|
401 | unauthorized | Missing or invalid API key. |
402 | insufficient_balance | Your balance doesn't cover the task price. |
404 | unknown_type | That task type doesn't exist. |
429 | rate_limited | Too many requests. Use the webhook instead of polling. |