Why You Need Transaction-Level Data for Your K4
Last updated: May 18, 2026
Many users download a realized gains & losses summary from their broker and assume it's enough for Swedish tax filing. Here's why it isn't—and what you actually need.
A common mistake when preparing your Swedish tax return is relying on your broker’s “Realized Gains & Losses” summary report. While convenient, these reports are almost always calculated using methods that don’t align with Swedish tax rules—meaning the numbers won’t match what belongs on your K4 form.
Sweden mandates the average cost method (genomsnittsmetoden) for calculating capital gains on shares. This method requires knowing every single purchase you’ve ever made for a given stock, in chronological order. A summary total doesn’t contain enough information.
ISK and Kapitalförsäkring Are Different
If all your holdings are in an ISK (Investeringssparkonto) or Kapitalförsäkring (KF), you don’t need to worry about any of this. These account types use a flat schablon tax—no K4, no per-sale calculations, no transaction-level reporting required. This article only applies to trades made on a regular securities account (Swedish: depå or aktiedepå), where capital gains must be reported individually.
Sweden Only Allows Genomsnittsmetoden
Most international brokers calculate gains using FIFO (First In, First Out) or specific identification. Sweden does not allow either of these methods. Instead, you must use the average cost method, which recalculates your cost basis every time you acquire more shares.
How the Average Cost Method Works
The Rule:
Worked Example:
Purchase 1: 100 shares at $50
Total cost = $5,000 · Average = $50.00
Purchase 2: 50 shares at $80
Total cost = $5,000 + $4,000 = $9,000 · Average = $9,000 / 150 = $60.00
Sale: 30 shares at $100
Cost basis = 30 × $60.00 = $1,800
Gain = $3,000 − $1,800 = $1,200
Notice that the sale’s cost basis ($60.00/share) is neither the price of the first purchase ($50) nor the most recent purchase ($80). It’s the weighted average of everything. A FIFO-based broker report would have used $50 instead, giving you a different—and incorrect for Sweden—gain.
K4 Requires Per-Disposal Rows
The K4 form doesn’t accept a single aggregated total for all your sales. Each disposal (sale) needs its own row with the following fields:
K4 Section A – Per-Sale Fields
| Field | What It Means |
|---|---|
| Beteckning | Stock ticker / security name |
| Antal sålda | Number of shares sold |
| Försäljningspris | Total sale proceeds |
| Omkostnadsbelopp | Acquisition cost (= average cost × shares sold) |
| Vinst/Förlust | Gain or loss (sale price − omkostnadsbelopp) |
If you sold the same stock on five different dates, you need five separate rows on the K4. Each row’s omkostnadsbelopp is calculated using the average cost at the time of that specific sale—which depends on all prior purchases. A broker summary that shows only a net gain or loss cannot produce these individual rows.
The Running Average Changes Over Time
Because the average cost updates with every purchase, chronology matters. Selling shares in March uses a different average cost than selling in September if you bought more shares in between.
Timeline Example: How Average Cost Shifts
Buy 200 shares at $25
Total cost: $5,000 · Average: $25.00
Buy 100 shares at $40
Total cost: $9,000 · Average: $30.00
Sell 50 shares at $55 → Cost basis = 50 × $30.00 = $1,500
Gain = $2,750 − $1,500 = $1,250
Remaining: 250 shares · Cost $7,500 · Avg still $30.00
Buy 150 shares at $60
Total cost: $7,500 + $9,000 = $16,500 · 400 shares · Average: $41.25
Sell 100 shares at $70 → Cost basis = 100 × $41.25 = $4,125
Gain = $7,000 − $4,125 = $2,875
Skatteguru Computes This Automatically
When you upload your transaction documents, Skatteguru reconstructs the full chronological history and computes the running average cost for every sale. You don’t need to do this manually.
Foreign Brokers vs. Swedish Brokers
Swedish brokers like Avanza and Nordnet do not automatically report your capital gains to Skatteverket. However, many offer built-in tools that can generate a K4 PDF for you based on your transaction history—which is convenient, but you still need to review and submit it yourself.
Foreign brokers—such as E*TRADE, Charles Schwab, Interactive Brokers, or Nutmeg—offer no K4 support at all. You must calculate and report every sale yourself. And since these brokers don’t use the Swedish average cost method, their tax reports cannot be used as-is.
There’s an additional problem: currency conversion. Sweden requires that all amounts on the K4 be reported in SEK, using the exchange rate from Riksbanken for the date of each transaction. Foreign brokers calculate gains in their own currency (e.g., USD or GBP) and either skip the SEK conversion entirely or use their own rates. Two different conversions on the same purchase and sale can produce very different gains—meaning even if the broker’s USD gain is correct by their method, the SEK equivalent on your K4 will be wrong.
Broker Reports Are Not K4 Data
A “Tax Report” or “Realized Gains” PDF from a foreign broker is a starting point for finding your transactions, but the gain/loss numbers on it are not the numbers you report on your K4. They are calculated using FIFO or another non-Swedish method, and they don’t apply Riksbanken’s exchange rates for each transaction date.
What You Should Upload
In most cases, exporting your full transaction history as a CSV file from your broker’s website is sufficient. Skatteguru can also process PDF trade confirmations and account statements. See the uploading guide for details, or check the supported brokers page for format-specific instructions.
Frequently Asked Questions
Can I just use my broker’s “Tax Report” PDF?
Not for the gain/loss numbers. The report itself is useful as a record of your transactions, but the calculated gains use a non-Swedish method (usually FIFO). You need to recalculate using Sweden’s average cost method. Skatteguru does this automatically when you upload the underlying trade documents.
What if I only bought shares once and sold them all at once?
In that simple case, FIFO and average cost produce the same result. But you still need to report the sale as an individual row on K4 with the correct omkostnadsbelopp—a summary won’t give you the per-sale breakdown the form requires.
Do I need transactions from before the tax year?
Yes. Your average cost at the start of the tax year depends on every purchase you made before it. If you bought shares in 2022 and sold them in 2025, the 2022 purchases determine your cost basis. Upload your full history from day one.
What about Swedish brokers like Avanza—do they handle this?
Swedish brokers don’t auto-report your K4 to Skatteverket, but many (like Avanza and Nordnet) provide tools that generate a K4 PDF. These can work well for straightforward cases, but they may not compute the correct omkostnadsbelopp for complex histories (e.g., multiple purchases at different prices, stock splits, corporate actions). And if you trade across multiple brokers or on foreign exchanges, you’ll need to consolidate everything yourself—or let Skatteguru do it.
Related Articles
- K4 Form (Capital Gains & Losses) — Understanding the K4 tax form, its fields, and how to fill it in correctly
- Average Cost Basis & Same-Day Sales — Why same-day stock option sales don't always mean zero capital gains
- From Documents to Capital Gains Tax Calculation — Deep dive into the data pipeline and how average cost is calculated step by step
- Uploading Documents — Step-by-step guide on how to upload your tax documents
- Multi-Broker Trades — How Skatteguru handles stocks held across multiple brokers

We're Here to Help
Have questions or feedback? We'd love to hear from you. Get in touch.