Calculadora de ROI
- Created by
- Renato Passos, Eng. de Software
- Reviewed by
- Renato Passos, Eng. de Software
Last updated: Apr 18, 2026
Formula
ROI = (ganho − custo) / custo × 100
About this calculator
The ROI Calculator measures the financial return of an investment relative to its cost. ROI (Return on Investment) is expressed as a percentage, indicating profit or loss. The formula is simple: subtract the total cost from the total gain, divide by the cost, and multiply by 100. A positive ROI means profit; negative means loss. This tool is essential for evaluating the efficiency of marketing campaigns, business projects, equipment purchases, or any capital allocation.
How to use: enter the total gain from the investment (revenue, savings, or benefit) and the total cost (including all expenses). The calculator instantly processes the ROI percentage. For example, if a project generated R$ 10,000 gain with R$ 8,000 cost, the ROI is 25%. This means for each real invested, there was a return of R$ 1.25. Use it to compare different investments: higher ROI indicates better relative return.
Cautions: ROI does not consider the investment time horizon. Two projects may have the same ROI, but one takes 1 year and another 5 years. To compare different timeframes, use metrics like NPV or IRR. Also, include all hidden costs (maintenance, taxes, labor) and intangible gains (like brand value) can be hard to quantify. ROI is an initial metric; combine with other analyses for complete decisions.
Frequently asked questions
What does a 100% ROI mean?
It means the gain exactly equals the cost, so you doubled your investment. It is a 100% return on capital.
Does a negative ROI mean total loss?
Yes, a negative ROI means the gain was less than the cost, resulting in a loss. For example, -50% ROI means you lost half the investment.
How to calculate ROI for a marketing campaign?
Sum all revenue generated by the campaign (direct sales) and subtract costs (ads, tools, salaries). Apply the formula: (gain - cost) / cost × 100.
Can ROI be used to compare investments with different timeframes?
Not directly. ROI does not consider time. To compare, use annualized ROI or metrics like NPV and IRR that account for time.
Which costs should I include in the calculation?
Include all direct and indirect costs: purchase, installation, maintenance, taxes, labor, marketing. Omitting costs can overestimate ROI.