Free to use, no account

Kalkulator for aksjegevinst

Anslå realisert gevinst eller tap ved ett aksjesalg ut fra kjøpspostene, salgsprisen og transaksjonsgebyrene.

Purchase lot 1

Kun et anslag, ikke investerings-, skatte- eller regnskapsråd. Én lang posisjon og ett salg; ingen shortposisjoner, wash sales, utbytte, selskapshendelser, valutakonvertering eller skatt. FIFO-/gjennomsnittskostregler kan variere mellom megler og jurisdiksjon. Kontroller registrene dine og lokal skattebehandling. Valuta endrer bare formateringen; den konverterer ikke verdier.

Hvordan beregner jeg gevinst ved aksjesalg?

Legg til aksjene du kjøpte som separate poster, oppgi antallet du selger og salgsprisen, og ta med eventuelle kjøps- eller salgsgebyrer. Velg vektet gjennomsnittskost eller FIFO for å fordele kjøpsgrunnlaget. Resultatet er et anslag før skatt, ikke en megleroppgave eller skatteberegning.

Veiledning

Slik bruker du stock-profit-calculator

The Stock Profit Calculator estimates the gain or loss on one sale of a stock you bought in several lots. You enter each lot's shares, price and fee, then the shares sold, the sale price and the sell fee. It shows cost basis, proceeds, profit, return and a break-even price. It is an estimate only: it does not work out tax, dividends or broker rules, and it is not investment or tax advice.

Slik gjør du

  1. Pick how many purchase lots you made, from 1 to 200, then fill in shares bought, price per share and the buy fee for each lot. Leave a fee at 0 if you paid none.
  2. Choose a cost-basis method: weighted-average cost, which spreads all buy costs over all shares, or FIFO, which treats the oldest shares as sold first.
  3. Enter the shares sold, the sale price per share and the sell fee. You cannot sell more shares than the lots add up to.
  4. Press Calculate profit to read the results, or Load example to see a ready-made case. Use Copy results to keep the numbers.

Eksempler

One lot, no fees

Du skriver inn
Kjøpsposter
Aksjer: 10; Pris per aksje: 20; Gebyr: 0
Solgte aksjer
10
Salgspris
30
Salgsgebyr
0
Metode
fifo
Du får
Kostpris
200
Netto salgsproveny
300
Gevinst
100
Avkastning (%)
50

The 10 shares cost 200 and sold for 300, so the gain is 100, which is half of the cost. All figures are invented for the example.

Kjørt med verktøyets egen kode.

Two lots, average cost against FIFO

Du skriver inn
Kjøpsposter
Aksjer: 10; Pris per aksje: 20; Gebyr: 5; Aksjer: 10; Pris per aksje: 30; Gebyr: 5
Solgte aksjer
12
Salgspris
40
Salgsgebyr
8
Du får
Gjennomsnittskost
Kostpris: 306; Netto salgsproveny: 472; Gevinst: 166; Avkastning (%): 54.25; Nullpunktpris: 26.17
FIFO
Kostpris: 266; Netto salgsproveny: 472; Gevinst: 206; Avkastning (%): 77.44; Nullpunktpris: 22.83

Total cost is 510 for 20 shares. Average cost gives 12 shares 306. FIFO takes all 10 cheaper shares (205) plus 2 from the second lot (61), which is 266. Proceeds are 12 times 40 minus the fee of 8. Same sale, two different profits, so the method matters. Prices are invented.

Kjørt med verktøyets egen kode.

A sale at a loss

Du skriver inn
Kjøpsposter
Aksjer: 50; Pris per aksje: 10; Gebyr: 0
Solgte aksjer
20
Salgspris
8
Salgsgebyr
2
Metode
fifo
Du får
Kostpris
200
Netto salgsproveny
158
Gevinst
-42
Avkastning (%)
-21
Gjenværende aksjer
30
Gjenværende kostpris
300
Nullpunktpris
10.1

The sale brings in 160 minus a fee of 2, which is 158, against a cost of 200, so the result is minus 42. The break-even price is the cost plus the sell fee, divided by the shares sold. Figures are invented.

Kjørt med verktøyets egen kode.

The largest set of lots

Du skriver inn
Kjøpsposter
200 lots of 1 share at 10
Solgte aksjer
200
Salgspris
11
Salgsgebyr
0
Metode
fifo
Du får
Kostpris
2000
Gevinst
200
Avkastning (%)
10

The tool accepts up to 200 lots. A 201st lot is refused. All 200 shares cost 2,000 and sold for 2,200, so the gain is 200.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Check a rough gain or loss before you look at your broker statement.
  • Compare how weighted-average cost and FIFO change the result for the same sale.
  • Work out a break-even sale price once buy and sell fees are counted.
  • Keep a quick note of a partial sale and the cost basis left on the shares you still hold.

Begrensninger

  • It models one long position and one sale. Short sales, wash sales, dividends, splits and other corporate actions are not included.
  • Tax is not calculated. Brokers and tax authorities may require a different method, such as specific share identification, so check your own records and local rules. In the United States, average cost is generally not allowed for individual stocks; FIFO or specific identification applies (IRS Publication 550).
  • Fees are only what you type in. Commissions, spreads, currency conversion and other charges that you leave out are not counted.
  • The currency code only changes how numbers are written. It does not convert money. The tool accepts 1 to 200 lots and up to 1 billion in total.

Tips

  • Copy lot details from your trade confirmations, not from memory, and include each buy fee.
  • Run the same sale under both methods to see the range, then compare with what your broker reports.
  • Test a few sale prices to see where the profit turns into a loss; the break-even price shows the line.

Vanlige spørsmål

How do I work out profit on a stock sale?

Take the sale price times the shares sold, subtract the sell fee, then subtract the cost basis of those shares, which is what you paid for them plus buy fees. This tool does that for you across many lots and shows the result as an amount and a percent.

What is the difference between average cost and FIFO?

Average cost spreads the total paid, fees included, over all shares you own. FIFO assumes the oldest shares were sold first, so their prices set the cost basis. The IRS describes FIFO as the rule when you cannot identify which shares you sold, and average basis as an option for certain mutual fund shares. In the United States, average cost is generally not allowed for individual stocks; FIFO or specific identification applies (IRS Publication 550).

Why do my numbers differ from my broker's?

Your broker may use another basis method, adjust for splits or wash sales, add fees you did not enter, or round differently. This tool uses only the figures you type and one of two simple methods. Treat it as a quick estimate and rely on your official statement.

Are fees included in the cost basis?

Here, the buy fee of each lot is added to that lot's cost, and the sell fee is taken off the sale proceeds. The IRS describes the amount realized as what you receive minus selling expenses such as commissions. Check your own tax rules before relying on that.

Does this calculate capital gains tax?

No. It shows the gain or loss before any tax. Tax rates, holding periods and allowances depend on where you live and on your own situation. Use official guidance or a qualified adviser for that.

What does the break-even sale price mean?

It is the sale price per share that would cover the cost basis of the shares sold plus the sell fee, leaving profit of zero. It does not include tax or any charge you did not enter.

Is my data sent anywhere?

The page says the calculation runs locally in your browser and that your prices, shares and fees are not sent to a processing service.

Kilder

Ofte stilte spørsmål

Hvordan beregner jeg gevinst ved aksjesalg?

Legg til aksjene du kjøpte som separate poster, oppgi antallet du selger og salgsprisen, og ta med eventuelle kjøps- eller salgsgebyrer. Velg vektet gjennomsnittskost eller FIFO for å fordele kjøpsgrunnlaget. Resultatet er et anslag før skatt, ikke en megleroppgave eller skatteberegning.

Lastes aksjeopplysningene mine opp?

Nei. Beregningen kjøres lokalt i denne nettleseren. Priser, antall aksjer og gebyrer sendes ikke til en behandlingstjeneste.

Hvor stor gevinst gir 10 aksjer kjøpt for 20 og solgt for 30?

Før gebyrer og skatt er 10 × (30 − 20) lik 100 i samme valuta. Kalkulatoren viser 100 når alle 10 aksjene selges og gebyrene er null.

Hva er forskjellen mellom FIFO og gjennomsnittskost?

FIFO fordeler kostnaden for de eldste kjøpspostene først. Vektet gjennomsnittskost bruker gjennomsnittlig kostnad for alle oppgitte aksjer, inkludert kjøpsgebyrer. Megler- og skatteregler kan kreve en annen metode; kontroller før rapportering.

Beregner dette skatt eller inkluderer det utbytte?

Nei. Den anslår ett salg før skatt og tar ikke med utbytte, skattesatser, wash sales, selskapshendelser eller lokale rapporteringsregler.

Hva betyr nullpunktprisen for salg?

Dette er salgsprisen per aksje som dekker kostprisen som er fordelt på aksjene som selges, pluss det oppgitte salgsgebyret. Skatt og andre kostnader som ikke er oppgitt, er ikke medregnet.