Need a mathematical function for thisI

I stink at math, so I’ll just get that out of the way right now.

Now here’s the thing. There’s something we sell to someone who automatically deducts 5% off of the price we sell it to them at – part of the fact that it’s stuff being sold national distributor (us) to regional distributor (them) so they get an extra deal.

The thing is there are some items which are net priced (meaning they are sold at actual cost rather than a percentage off of the retail cost) and we don’t want to lose money on those, so we want to up their charges by a percentage which reflects the percentage they will discount the items by.

In other words, if we sell a net-priced item for $100, they will deduct $5 for their distributorship discount. We can’t up the price to $105 because 5% from $105 is still $99.75 – we lose a quarter. So what’s the equation to determine what value we need to add to a part to cover the 5% discount they will take off of it?

x - 0.05x = 100
where x is the amount you need to charge to get your desired amount of $100

You should be able take it from there.

If it’s 5%, take the original amount and divide it by .95

So $100/.95=$105.27

$105.27*.95=$100 (well $100.01, but that’s a rounding error)

If you want the item to be in the stores for x, and your distributor will put the item on the shelves for 95% of what you charge them (call that y), then x = 0.95 * y, which means you should charge the distributor y = x / 0.95, or y = x * 1.05263.

Divide your needed price by .95.

In your example, $100/.95 = $105.26

When they take 5% off,

.05 * 105.26 = $5.26, leaving you with $100.

To expand on Terminus Est, who is correct, you can simplify and generalize the formula.

x = p/(1-d) where p is the net price, and d is the discount.

In this case, it would be x = 100/(1-0.05) = 100/0.95 = 105.26

To double check, 105.26 x 0.05 = 5.26; 105.26 - 5.26 = 100

DOH!

Subtract the amount they deduct from 100% and divide. This is one of those dense moments when I say “Why the hell didn’t I think of that?” I kept thinking you had to do some funky nested stuff to calculate the 5% discount first.

Occam’s Razor.

Thanks everyone!

The fact that you realize this puts you way ahead of all too many math students I’ve known.