# Nutrition Macros Calculator for website

I'm a personal fitness trainer and I have a Daily Caloric Intake javascript calculator on my website that allows a user to input his: weight, age, gender, height, and activity level ( from a drop-down list of choices) and it calculates his base daily calorie requirements, and depending upon which activity level he selects it recommends a specified calorie level. This part already works well.

I would like to take that specified calorie recommendation and provide a few more recommendations for my web users.

1.) I would like to provide the users with the number of calories per day necessary to lose weight each week in increments of: -.5 lbs, -1 lb, -1.5 lbs, or -2 lbs per week. It's a basic math equation of expending 3500 calories each day over a 1 week period in order to lose 1 lb. So -3500/7 = -500 therefore ; -500 calories per day are required in order to lose 1 lb per week.

So, If my original calculator had provided a specified calorie recommendation of 2000 calories per day based on the information the user provided, the new "1 lb of weight-loss per week" option would inform the user that their recommended calories per day would be reduced to 1500 in order to reach that goal. There are many websites that do this, so examples are prevalent online.

2.) I'd then like to take the number of calories recommended for weight-loss, for instance 1500 in the example above, and calculate the percentages of those calories that should be allocated to the 3 macro nutrient categories of: Carbohydrates, Proteins and Fats based on the desired percentages the user provides. For example; after the calculator states that 1500 calories per day is recommended to lose one pound per week for a user who's normal daily calorie requirement is 2000 calories per day, the user could input the following percentages into a calculator that calculates the number of calories that should be allocated to each group based on the percentage the user provides. Given the example above, if a user inputs 50% for Carbs - this would output a result of 750 calories based on a 1500 total calorie per day allotment. 25% Protein would = 375 calories, and 25% Fat would = 375 calories as well.

3.) Lastly, in addition to the calorie percentage breakdowns for the macros listed above, I would also like the calculator to list the # of grams associated with each percentage. That is also basic math as the number of grams of protein simply equals the number of calories divided by 4. In the above example 750 calories / 4 = 187.5 g protein. The calculation for Carbs is also divided by 4, so 375 calories / 4 = 93.75 g Carbs. And lastly the calculation for fat grams = the calories divided by 9. Therefore 375/9 = 41.67 g Fat

4.) [login to view URL] - Here is the current calculator on my webpage.

5.) Here is a similar version of a macro calculator - [login to view URL]

Please submit a bid for costs and time to complete

Evner: CSS, HTML, Javascript, jQuery / Prototype, PHP

Om arbejdsgiveren:
( 4 bedømmelser ) Mckinney, United States

Projekt ID: #19004109

## Tildelt til:

vishwanath89

Hey Can deliver in a day's time. Assuming the inputs will change to get the carbs/fats/protein values % from the user?Also i could see the existing site is hosted on [login to view URL] would i be integrating this in wix or i Flere

\$100 USD på 1 dag
(73 bedømmelser)
6.8

## 17 freelancere byder i gennemsnit \$171 på dette job

ITLove007

How are you? I read your job detail carefully and understand 100%. I am a senior web expert with 7+ years of experiences. I can complete your project on 2 day and 100\$. First day, I have to understand your source Flere

\$155 USD in 3 dage
(66 bedømmelser)
7.5
polarjin2017

Hello? How are you? I have seen the project - "Nutrition Macros Calculator for website." I have been working in these fields((CSS, HTML, Javascript, jQuery / Prototype, PHP)) for 7 yrs as a freelancer. I can work Flere

\$155 USD in 3 dage
(93 bedømmelser)
6.8
CrazyWebGuru

Hi. I am a full time developer and have high skills in web develop by CSS, HTML, JQuery, PHP & MySQL. So I can complete this project. My price and time is negotiable. Let's discuss details via chat. I'll provide best s Flere

\$155 USD in 3 dage
(78 bedømmelser)
6.6
techplusintl

Hi there, Greetings from TechPlus! I've reviewed requirements & ready to develop calculator for Nutrition Macros. 5+ Years Expertise in : CMS (Wordpress, Magento, Shopify, OpenCart, Joomla, Drupal, Prestashop Flere

\$155 USD in 3 dage
(90 bedømmelser)
6.0
schoudhary1553

Hello, I have gone through your job posting and become very much interested to work with you. I am an expert in this field. I have already completed several projects like this. For evidence you can see my profile. Flere

\$250 USD in 3 dage
(47 bedømmelser)
5.9
stanciuloredana9

Hello! My name is Loredana and i have 5 years of experience in Web Design and Development! I also know SEO and Online Marketing! Contact me for more informations! Thanks!

\$100 USD på 1 dag
(51 bedømmelser)
4.9
bluebear1888

✅I have done this kind of project. I have got 5+ years of rich experiences in the field which you want and able to work full-time for you. - Web scrapping in python - Python - Web(Codeignitor, Laravel, JSP, Node.js Flere

\$250 USD in 3 dage
(18 bedømmelser)
4.4
finaldragon123

Hello,sir I 'd really like to work with you on this one if possible! I have read your description with great interest. I've gone through the post description carefully and ready to start work on this project. I do Flere

\$200 USD in 3 dage
(9 bedømmelser)
3.9
BoyVit85

Dear sir. I have experience build like your project. I think this project is for me. I am confident I can exceed your expectations. I can achieve the results that you are asking for. I would love to work on your p Flere

\$200 USD in 3 dage
(14 bedømmelser)
4.1
NewFuture338

Hello, dear. I’ve gone through your project description and would like to submit my candidacy for the same. I can finish your task for 1 days. I think budget is \$200. I’ve over six years of experience working with Flere

\$277 USD på 1 dag
(1 bedømmelse)
2.6
abuakar21

Hi, I'm Abubakar and I'm a JavaScript programmer. I can edit your existing macro and add the necessary improvements you need. It will be an honour to work on your project.

\$40 USD in 3 dage
(1 bedømmelse)
1.5
evonsystems7

"Hi, Hope you are doing well! Thanks for sharing your project requirement with us. It will be our great pleasure to work on your project. I have checked your requirement, yes we can do it, because we already work on si Flere

\$208 USD in 7 dage
(2 bedømmelser)
0.0
ruwanarru

hi let me have the job i will make your project more accurate and proper working website have good experienced in this kind of projects

\$222 USD in 5 dage
(0 bedømmelser)
0.0
princeariv

hello sir i had done projects like this before. i can do it for you at a reasonable price. i am professional developer as well as designer. i have a strong knowledge of JavaScript,php,c#,asp :)...

\$77 USD in 4 dage
(0 bedømmelser)
0.0
fska

Im fullstack developer from México city I have a lot programing experience making proyects for companies I can make the service in 2 days but need some specification

\$133 USD in 2 dage
(0 bedømmelser)
0.0
JorgeMag96

I know exactly what you want, if you hire me I guarantee a 100% satisfaction on the work, and maybe we could implement an api of nutritional information of certain foods to print a diet. Relevant Skills and Experience Flere

\$222 USD in 2 dage
(0 bedømmelser)
0.0