Your Results
Want a full PDF breakdown + meal ideas?
Enter your email below and we’ll send the complete plan to your inbox.
[Embed your MailerLite form here]
Want the full plan?
Get a personalized PDF with per-meal targets, example meals, and next steps. Enter your email below and we’ll send it right over.
📥 Drop your MailerLite embed here. This placeholder only appears until you paste the real form.
$1
function calculate(){
const sex = document.getElementById('sex').value;
const age = +document.getElementById('age').value;
const weightLb = +document.getElementById('weight').value;
const heightFt = +document.getElementById('heightFt').value;
const heightIn = +document.getElementById('heightIn').value;
const activity = parseFloat(document.getElementById('activity').value);
const goal = document.getElementById('goal').value;
const meals = +document.getElementById('meals').value;
const weightKg = weightLb*0.4536;
const heightCm = (heightFt*12+heightIn)*2.54;
let bmr = 10*weightKg + 6.25*heightCm - 5*age + (sex==='male'?5:-161);
let tdee = bmr*activity;
let adjCal = tdee;
if(goal==='cut_mild') adjCal-=250;
if(goal==='cut_standard') adjCal-=500;
if(goal==='gain_mild') adjCal+=250;
if(goal==='gain_standard') adjCal+=500;
// macros: protein 0.8 g/lb, fat 30% calories, carbs remainder
let proteinG = Math.round(weightLb*0.8);
let fatG = Math.round(0.3*adjCal/9);
let carbsG = Math.round((adjCal - proteinG*4 - fatG*9)/4);
document.getElementById('results').style.display='block';
document.getElementById('calories').innerText = Math.round(adjCal)+" kcal/day";
document.getElementById('protein').innerText = proteinG+" g";
document.getElementById('fat').innerText = fatG+" g";
document.getElementById('carbs').innerText = carbsG+" g";
document.getElementById('permeal').innerText = `${Math.round(adjCal/meals)} kcal | ${Math.round(proteinG/meals)}g P | ${Math.round(fatG/meals)}g F | ${Math.round(carbsG/meals)}g C`;
}