宏计算器
将每日卡路里的目标分成蛋白质、碳水化合物和脂肪克。
输入结果时更新 。
关于此计算器
A macro calculator turns a daily calorie target into grams of protein, carbohydrate and fat using a chosen ratio. It relies on the Atwater energy values — 4 calories per gram of protein and carbohydrate and 9 calories per gram of fat — so the three macros always add back up to your target. Pick a preset split or enter your own percentages under advanced options.
The math is identical for every macro: grams = (calories × macro %) ÷ calories-per-gram. Take a 2,000 kcal balanced 30/40/30 plan. Protein is 2,000 × 0.30 ÷ 4 = 150 g, carbohydrate is 2,000 × 0.40 ÷ 4 = 200 g, and fat is 2,000 × 0.30 ÷ 9 ≈ 67 g. Those convert back to 600 + 800 + 600 = 2,000 calories, confirming the split is internally consistent.
Use it after you have a calorie target from a TDEE or calorie-deficit calculator: macros decide the composition of those calories, which affects satiety, training performance and how much muscle you keep in a diet. Higher-protein splits suit people building or preserving muscle, endurance splits load more carbohydrate for glycogen, and keto splits push carbs very low. Total calories still drive weight change more than the exact ratio.
经常问到的问题
宏观从热量转换成克的情况如何?
每个宏都有能量价值:蛋白质和碳水化合物为每克4卡路里,脂肪为每克9卡路里。Grams = (卡路里 × 宏%) / 热量- 每克。2,000千卡 30/40/30的分解是150克蛋白质、200克碳水化合物和67克脂肪。
什么是好的宏观分化?
平衡的30/40/30对大多数人有效,较高的蛋白质(约40%)有助于建立或保护肌肉,而一个红豆分割法使碳碳含量非常低。 没有单一的最佳比率,总热量比完全的分数要重要。
这三个宏加起来是否加到我的卡路里?
是的,因为你选择的百分比 全部100%, 热量 从蛋白质,碳水化合物和脂肪 总是总和回到你的日常目标。
多少克蛋白质 是在2,000卡路里饮食?
它取决于蛋白质的百分比。 蛋白质的30%是150克(2 000x0.30+4),40%是200克。 改变分割,计算器对每个宏重新计算克数。
什么是好的Keto宏?
红心箱使用25%的蛋白质、5%的碳水化合物和70%的脂肪。 在2,000千卡上,大约125克蛋白质、25克碳和156克脂肪 — — 碳水化合物保持非常低,以刺激人体用脂肪和克酮运行。
我应该算净或总碳水化合物吗?
这一工具以从卡路里得出的碳水化合物总克数为单位。 碳净碳(总减纤维)是另一种对低碳水化合物饮食流行的跟踪选择;无论采用哪种方法,都要保持日常的一致。
我的宏在休息日会改变吗?
计算器可以分割任何你进入的卡路里目标,所以如果休息日吃少一点卡路里,请输入较低数量和每个宏缩放。 许多人将蛋白质稳定下来,大部分为碳水化合物,在非培训日使用。
API - 使用代码中的计算器
将此计算器称为自由 JSON 端点 。 不需要按键 。 将字段值发送到下面作为查询参数或 JSON 。 任何您省略的, 都会使用相同的默认值, 此页面预填的默认值是预填的; 未知参数是 400, 而不是静音零 。 读取 API 全部文件 →
终点
GET https://calculator.free/api/v1/macro/
curl
curl "https://calculator.free/api/v1/macro/?calories=2000&split=30-40-30"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/macro/?" + new URLSearchParams({
"calories": "2000",
"split": "30-40-30"
}));
const data = await r.json();
console.log(data.results);
成果仅是一般指导的估计数,而不是财务、医疗或税务咨询。