Mathematical Methodology & Calculation Formulas
Our tools are engineered for mathematical precision, financial realism, and data privacy. Below we document the formulas, algorithms, and rounding standards used.
1. 100% Client-Side Execution Guarantee
All calculations, cost entries, menu recipes, and profit simulations run purely within your browser’s JavaScript engine. No financial numbers or proprietary restaurant metrics are ever sent or stored on external servers or analytics platforms.
2. Core Mathematical Formulas
A. Platform Deductions
Commission = Price × CommissionRateOnlinePayment = Price × OnlinePaymentRateAllocatedMonthlyFee = (MonthlyRevenue > R$ 1,800) ? (MonthlyFee / MonthlyOrders) : 0TotalPlatformFees = Commission + OnlinePayment + AllocatedMonthlyFeeB. Variable Operating Costs
VariableCosts = FoodCost (CMV) + Packaging + Taxes + Promotions + OwnCourierCost + OtherCostsC. Unit Contribution & Net Margin
ContributionProfit = Price - TotalPlatformFees - VariableCostsNetMargin = ContributionProfit / Price3. Binary Search Target Price Solver
Because net profit margin is strictly monotonically increasing with respect to selling price, our target price engine employs a binary search algorithm converging to within half a centavo (R$ 0.005) in under 20 iterations.
4. Commercial Price Rounding Policy
Calculated monetary figures are rounded using the standard round-half-up policy to two decimal places. Commercial menu price suggestions adapt to standard Brazilian consumer psychological endings (.50 and .90) and instantly display the recalculated true margin.