Besoins caloriques
Calculateur de besoins caloriques journaliers
Formule Mifflin-St Jeor (1990), reference des nutritionnistes francais.
Femme
Homme
Sedentaire (bureau, peu de marche, pas de sport)
Leger (marche quotidienne, sport 1-2 fois/semaine)
Modere (sport 3-4 fois/semaine)
Eleve (sport intensif 5-6 fois/semaine)
Tres eleve (sportif pro ou metier physique)
Stabilisation du poids
Perte de poids progressive (-15 %)
Perte de poids ferme (-25 %)
Prise de masse (+10 %)
(function(){
document.getElementById(‘rp-cal-go’).addEventListener(‘click’, function(){
var sexe = document.getElementById(‘rp-cal-sexe’).value;
var age = parseInt(document.getElementById(‘rp-cal-age’).value, 10);
var poids = parseFloat(document.getElementById(‘rp-cal-poids’).value);
var taille = parseInt(document.getElementById(‘rp-cal-taille’).value, 10);
var act = parseFloat(document.getElementById(‘rp-cal-act’).value);
var obj = parseFloat(document.getElementById(‘rp-cal-obj’).value);
if (!age || !poids || !taille) { alert(‘Renseignez age, poids et taille.’); return; }
/* Mifflin-St Jeor */
var mb;
if (sexe === ‘h’) mb = 10*poids + 6.25*taille – 5*age + 5;
else mb = 10*poids + 6.25*taille – 5*age – 161;
var depense = mb * act;
var objectif = Math.round(depense * obj);
/* Repartition macros recommandee */
var prot_g = Math.round((objectif * 0.20) / 4);
var lip_g = Math.round((objectif * 0.30) / 9);
var glu_g = Math.round((objectif * 0.50) / 4);
var html = ‘Vos besoins caloriques estimes‘;
html += ‘
Metabolisme de base : ‘ + Math.round(mb) + ‘ kcal/j
‘;
html += ‘
Depense totale (avec activite) : ‘ + Math.round(depense) + ‘ kcal/j
‘;
html += ‘
Objectif : ‘ + objectif + ‘ kcal/jour
‘;
html += ‘
Repartition recommandee :
‘;
html += ‘
- ‘;
- Glucides (50 %) : ~’ + glu_g + ‘ g
- Proteines (20 %) : ~’ + prot_g + ‘ g
- Lipides (30 %) : ~’ + lip_g + ‘ g
html += ‘
‘;
html += ‘
‘;
html += ‘
‘;
html += ‘
‘;
html += ‘
Estimation indicative. Pour un objectif precis (perte de poids significative, prise de masse, pathologie associee), consultez un medecin nutritionniste ou un dieteticien.
‘;
var res = document.getElementById(‘rp-cal-result’);
res.innerHTML = html;
res.style.display = ‘block’;
res.scrollIntoView({behavior:’smooth’, block:’center’});
});
})();