this post was submitted on 20 Nov 2024
35 points (97.3% liked)

math

804 readers
181 users here now

General community for all things mathematics on @lemmy.world

Submit link and text posts about anything at all related to mathematics.

Questions about mathematical topics are allowed, but NO HOMEWORK HELP. Communities for general math and homework help should be firmly delineated just as they were on reddit.

founded 1 year ago
MODERATORS
 

So what's the problem.

eBay, purveyor of buying and selling the stuff from your Grandma's house, or from China. Has a IMHO terrible fee structure which works like this.

You sell the item you want (S), then it gets taxed (T). That taxed sale then has two additional fees applied to it, one for transaction (E), another for international (I). Finally a static fee is needed for the listing itself (F). Oh and all of this is taxed.

This results in the following Formula to calculate how much you will actually make from a sale (P).

S - ST - ([ES*(1+T)])T - ([IS*(1+T)])T - F(1+T) = P

This is stupid, and I shouldn't be taxed on my tax, but whatever. I just need to math my way out of this. It took all evening but I was able to take the formula above and isolate S

P+F+F(1*T)

------------------------------------------- = S

1-T-E-E*(2T+T^2 )-I-I(2*T+T^2 )

The result of this is a sale prince which accounts for eBay's fees

I've attached a screenshot to my excel sheet to prove that it works. I'm going to bed.

you are viewing a single comment's thread
view the rest of the comments
[–] brbposting 4 points 2 days ago (2 children)

Nice. Did you try any eBay fee calculators first? Feels good having your own solution of course!

[–] [email protected] 3 points 2 days ago (1 children)

It need to be flexible so I can calculate other sites like etsy

[–] brbposting 4 points 2 days ago

It’s nice that unlike the available tools:

you can really vet the math!