1001Ferramentas
πŸ“ŠCalculators

Stock Trade Profit Calculator

Compute profit/loss on stock buy/sell: buy price, sell price, qty, fees. 15% IR on profit.

How spot stock returns are calculated

The return on a spot stock trade is return = (P_sell βˆ’ P_buy + dividends) / P_buy Β· 100%. To annualize a partial-period return, use (1 + return)^(365/days) βˆ’ 1, which assumes the same rate could be repeated. Example: buying PETR4 at R$ 32 and selling at R$ 38 after 180 days, with R$ 1.20 in dividends, gives a gross return of 22.5% in the period and roughly 50.1% annualized.

Brazilian costs to net out: brokerage is now zero at most modern brokers (XP, Clear, Rico, BTG, Nubank Invest), B3 emoluments around 0.0345% of the trade, and income tax of 15% on swing-trade capital gains or 20% on day trade. Law 11.033/2004 exempts swing-trade sales totaling up to R$ 20,000 per month. Dividends are currently tax-free for individuals, although the ongoing tax reform may change this.

Brazilian context

B3 is the only stock exchange in Brazil and trades nearly 400 listed companies. Most investors track portfolios through Status Invest or Investidor10 and execute through home-broker platforms. The DARF for capital gains must be paid by the last business day of the month following the sale; for IRPF (annual return), each operation must be reported on the "Renda VariΓ‘vel" worksheet.

FAQ

Does the R$ 20,000/month exemption apply per stock or total? Total β€” it is the sum of sale value (not profit) across all spot stocks in the month. If you sold R$ 25,000 in one stock and R$ 0 in others, the full gain is taxable.

How is the average buy price calculated? Weighted average: sum the total invested across all purchases (including costs) and divide by the total number of shares. Sales reduce quantity but do not change the average price.

Can I offset losses against gains? Yes β€” swing-trade losses offset only swing-trade gains, and day-trade losses offset only day-trade gains. Carryover is indefinite, tracked monthly on your own records or via broker-issued reports.

Are FIIs (real-estate funds) taxed the same way? No β€” FII gains are always taxed at 20% with no exemption threshold, and monthly dividend distributions are tax-free for individuals holding fewer than 10% of the fund.

Related Tools

πŸ”’

P/E Ratio (Price/Earnings)

Calculate a stock's P/E ratio by dividing its share price by earnings per share. Compare companies and gauge whether a stock looks cheap or expensive.

πŸ’°

Markup and Margin Calculator

Compute sale price from cost + markup or margin (and vice versa). Also explains the difference between markup and margin β€” a common retail confusion. Everything in your browser.

πŸ“Š

Stock PE Forward PE and PB Ratio Calculator

Computes price to earnings (P/E), forward P/E and price to book (P/B) fundamentals of a stock from current price, EPS and book value per share.

πŸ›οΈ

Cost of Preferred Stock

Computes the cost of capital of a preferred stock: the fixed annual dividend divided by the stock's market price, as a percentage. Since preferred stock usually pays a constant dividend, it behaves like a perpetuity, and its cost is the yield on that dividend. This figure goes into the WACC calculation as the cost of the preferred-capital slice. Enter the annual dividend and the preferred stock's price.

β‚Ώ

Crypto Profit/Loss Calculator

Compute crypto profit/loss: buy price, current price, qty. 15% IR on profit above R$35k monthly sales.

πŸ’΅

Cash-or-Nothing Put

Computes the price of a cash-or-nothing put: it pays a fixed amount if the asset finishes below the strike, and nothing otherwise. It's the downside version of the digital option, the complement of the cash-or-nothing call. The price is the payout discounted and multiplied by the risk-neutral probability of the asset finishing below the strike, QΒ·e^(βˆ’rT)Β·N(βˆ’d2). Enter the spot price, the strike, the interest rate, the term, the volatility and the payout.

The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.