SarthakKeshari / calc_for_everything

This repository aims to provide Calculators for educational, professional, scientific, health and well-being and other purposes.
https://calc-for-everything-psi.vercel.app
MIT License
115 stars 103 forks source link

Markup Calculator #577

Open SarthakKeshari opened 8 months ago

SarthakKeshari commented 8 months ago

Enter calculator name -

Markup Calculator

Describe calculator functionality -

Markup Formulas and Calculations: The gross profit P is the difference between the cost to make a product C and the selling price or revenue R. P = R - C To calculate revenue R based on the cost C and the desired gross margin G, where G is in decimal form: R = C / ( 1 - G) The gross profit dollars P is the revenue dollars R from the sale times the gross margin G percentage, where G is in decimal form : P = R G The markup percentage M, in decimal form, is gross profit P divided by cost C. M = P/ C M 100 will change the decimal to a percentage.

Under which category you wish to place it -

Rishika631 commented 7 months ago

@SarthakKeshari please assign this issue to me. Also I have a doubt to calculate all these we can take the inputs of variables in the formula like for P = R - C we have to ask user input of R and C to calculate P right?

SarthakKeshari commented 7 months ago

Hey @Rishika631, Assigned.

You may contribute your code under the folder path -

calc_for_everything\calculators\src\mathematical\markupCalc

Issue completion deadline - 21th Dec 08:00:00 am IST

NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new contributor

SarthakKeshari commented 6 months ago

@Rishika631, Since the issue completion deadline is crossed, Issue has been unassigned.

Kindly do not create a PR for the issue now.