If you wish to put the entire fee on your customer, remember that the customer must also pay the fee of collecting the fee itself.
r = 0.025 // (rate fee)
f = 0.25 // (flat fee)
O = 100 // original amount (the cost of some product)
Naive (wrong) approach: