Compute X percent of Y — the basic percentage portion calculation used for discounts, taxes, tips, and commission math.
Formula
result = (X ÷ 100) × Y
Both inputs are real numbers. Example: 15% of 240 → (15 / 100) × 240 = 36.
When to use it
Quick sale-price reductions, VAT-exclusive back-calculations, tip estimates on a subtotal, or homework checks without spreadsheet setup.
Limitations
Floating-point rounding may show long decimal tails; format results for currency according to your locale’s minor units. Negative percentages model decreases but interpret business meaning carefully. Does not compound multiple successive percentages automatically.
Example
15% of 200 equals 30 because (15 ÷ 100) × 200 = 30. A 8% sales tax on a 49.99 subtotal is about 4.00 before rounding to currency minor units. A 20% tip on 85 is 17. Negative percentages model decreases; interpret the business meaning carefully for discounts versus fees.