Mark-up, Discount, Profit and Cost
Mark-up, Discount, Profit and Cost
From a mark-up and a discount, find the actual profit percentage, the cost and the selling price.
- 74 bytes
- COMP mode
Worked examples
Example 1
A florist marks a bouquet at 40 % above its cost. Near closing time the bouquet is sold at 30 % off the marked price, and the florist makes a loss of $5. Find the cost of the bouquet, the actual percentage profit or loss, and the selling price.
Answer
Standard solution (without a calculator)
- Marked price: let the cost be C. Marked price = C(1 + 40/100) = 1.4C.
- Discount on the marked price: 30 % off means paying 70 %: selling price = 1.4C × 0.7 = 0.98C. 40 % − 30 % = 10 % is not the actual result; this sale is in fact a loss.
- Cost from the loss: profit = 0.98C − C = −0.02C = −5, so C = −5 ÷ (−0.02) = 250.
- Check: marked price 1.4 × 250 = 350; selling price 0.7 × 350 = 245; profit 245 − 250 = −5, a loss of $5; percentage −5/250 × 100 % = −2 %.
Example 2
A lamp shop marks a desk lamp at 25 % above its cost and sells it at 10 % off the marked price, making a profit of $45.
(a) Find the actual profit percentage.
(b) Find the cost and the selling price of the lamp.
Answer
Standard solution (without a calculator)
- Combine the factors: marked price = 1.25C; selling price = 1.25C × 0.90 = 1.125C. The two percentages have different bases, so multiply the factors first.
- Actual profit percentage: profit = 1.125C − C = 0.125C, so the profit percentage on cost is 0.125 × 100 % = 12.5 %.
- Cost and selling price: 45 = 0.125C, so C = 45 ÷ 0.125 = 360; selling price = 1.125 × 360 = 405, which is also 360 + 45.
- Check: 360 × 1.25 = 450; 10 % off gives 450 × 0.9 = 405; 405 − 360 = 45.
Example 3
An electrical shop buys a pair of earphones for $300 and marks them at 20 % above cost. In a clearance sale they are sold at 25 % off the marked price.
(a) Find the actual profit percentage, and say whether it is a profit or a loss.
(b) Find the selling price and the amount of the loss.
Answer
Standard solution (without a calculator)
- Marked and selling price: marked price = 300 × 1.20 = 360; 25 % off means paying 75 %: 360 × 0.75 = 270.
- Signed profit: selling price − cost = 270 − 300 = −30, so this is a loss of $30.
- Profit percentage: −30/300 × 100 % = −10 %; the minus sign means a loss. Equivalently 1.20 × 0.75 = 0.90, 10 % below cost.
- Program output: A = −10, C = 300, Y = 270. The loss Y − C = 270 − 300 = −30 is worked out by hand; it is not a fourth output.
When to use it
In percentages problems a shop marks an item up by M % on its cost, then sells it at a discount of D % on the marked price. The two percentages have different bases, so the actual profit is not M − D. 015 shows the actual profit percentage A, then — from a known cost, or from the profit when the cost is unknown — the cost C and the selling price Y.
What it is for
- One item marked up on its cost and then discounted on the marked price
- The cost from a profit (or loss) amount
- The selling price and the profit percentage from a known cost
What you enter
- M: the mark-up percentage (50 for 50 %); D: the discount percentage (20 for 20 % off — selling at 80 % of the marked price is also D = 20)
- C: a known cost, or 0 when the cost is unknown
- B (asked only when C = 0): the profit amount, negative for a loss
What it shows
- A, the actual profit percentage on cost (20 means 20 %; negative is a loss)
- C, the cost
- Y, the selling price — the final result
Check before use
- For one item: the marked price is M % above cost, then D % is taken off the marked price. M ≥ 0, 0 ≤ D ≤ 100, and the actual cost must be positive. Do not treat the profit and loss percentages of two different items as successive changes of one item.
- Enter the percentages as plain numbers: a 50 % mark-up → 50, a 20 % discount → 20; do not press %. Selling at 80 % of the marked price is a 20 % discount (D = 20); at 75 % it is D = 25.
- Each time the cost is unknown, enter 0 at C? explicitly and press EXE. A blank EXE would keep the variable’s last value instead. When the cost is known, enter it; the program then does not ask for the profit.
- The results come in the order A, C, Y, each with its letter on the upper line. A is the profit percentage on cost: A = 20 means 20 % profit, not 0.2 %. Y is the last result; press AC to leave or EXE to run again. To find only the percentage, read A and press AC.
- Enter a profit B as a positive number and a loss as a negative one (a loss of $30 → −30, with (−)); no separate loss mode is needed. Amounts must be in the same unit, and the program does not round money to cents.
- If A = 0 a known cost still works (selling price = cost). With an unknown cost, a profit of 0 cannot fix a unique cost and a non-zero profit contradicts the data: either way the program stops with Math ERROR, without saying which.
- A negative mark-up, a discount outside 0–100, a negative cost and a worked-out cost that is not positive all stop with Math ERROR. Math ERROR is not a cost; press AC and check the question and the inputs. A slip such as D = 8 for “80 % of the price” is still a valid number and is not caught.
- Run in COMP. The program sets Norm 1, so a small profit percentage is not shown as 0 under Fix or Sci. The angle unit does not matter. The inputs and results overwrite M, D, A, B, C, Y and Ans; X is not used.
- Everyday whole numbers and short decimals work as intended. Data differing only in about the 13th–15th significant digit — very near break-even or a 100 % discount — are affected by the calculator’s rounding and cancellation.
Checking access…