Food
Service fee on an order
Multiply the order value by the service fee rate written as a decimal. A five percent rate is 0.05, so a 30.00 order carries a 1.50 service fee.
Last updated
The Formula
S = v × s
Multiply the order value by the service fee rate written as a decimal. A five percent rate is 0.05, so a 30.00 order carries a 1.50 service fee.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| v | Order value | currency | The price of the basket before any fee is added. |
| s | Service fee rate | decimal | Enter 5 for five percent; the runtime uses 0.05. |
What Each Symbol Means
vcurrency
Order value
The price of the basket before any fee is added.
sdecimal
Service fee rate
Enter 5 for five percent; the runtime uses 0.05.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to calculate the delivery cost page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Calculate The Delivery Cost, filed under Everyday Life. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Service fee on an order?
The formula for Service fee on an order is S = v × s. Multiply the order value by the service fee rate written as a decimal. A five percent rate is 0.05, so a 30.00 order carries a 1.50 service fee.
What units should I use with Service fee on an order?
Substitute v in money (any currency, as long as every money input uses the same one), s in decimal. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Service fee on an order?
Entering the rates as decimals instead of percentages. The fields take percentages, so 5 means five percent and 15 means fifteen percent. Entering 0.05 and 0.15 gives fees a hundred times too small, while adding an extra multiplication by 100 gives fees a hundred times too large. Let the runtime do the conversion.