Home › Calculators › Journal Analyzer
CSV Trade Journal Analyzer
Turn a CSV export from your trading journal or broker into the core performance stats, entirely inside your browser.
This trade journal analyzer reads a CSV of your closed trades and computes win rate, profit factor, expectancy, average win and loss, payoff ratio, largest win and loss, longest winning and losing streaks, and maximum drawdown on the cumulative P&L curve. The file is parsed with your browser's FileReader and never leaves your device — nothing is uploaded to a server.
Trade log input
Journal stats
Equity curve from cumulative P&L
See what a real trade would cost you
Before you place this, compare brokers on the one number that matters — the all-in cost of spread and commission — using our open, for-sale-proof methodology.
Compare broker trading costs →Disclosure. Some outbound links may be affiliate links; they never change a calculator’s result. How we make money.
Educational tools for non-US traders · not directed at US persons.
How it works
What it reads
The analyzer needs one thing: a column of per-trade profit and loss. It auto-detects a header named like PnL, P&L, Profit, Net or Result; if it cannot find one, you pick the column yourself. Quoted fields that contain commas (such as a symbol written "EUR, USD") are handled, and rows whose P&L cell is not a number are skipped and counted rather than crashing the run.
The statistics
- Win rate = winning trades ÷ total trades.
- Profit factor = gross profit ÷ absolute gross loss. Above 1 means the winners outweigh the losers over this sample.
- Expectancy = net P&L ÷ number of trades, the average result per trade in your account currency.
- Payoff ratio = average win ÷ average loss.
- Max drawdown is the largest peak-to-trough drop on the cumulative P&L curve, in currency terms.
- Longest streaks report the most consecutive winners and losers in sequence.
Why it stays in the browser
Trade history is sensitive. This tool uses client-side JavaScript only, so the CSV is read and analyzed on your machine. There is no account, no upload and no storage. Closing the tab clears the data.
Worked example
For the trade sequence 100, -50, 200, -100, -80, 300, -40, the analyzer reports 7 trades, a 42.9% win rate, gross profit 600, gross loss -270, net 330, profit factor 2.22, expectancy about 47.1 per trade, a longest losing streak of 2 and a maximum drawdown of 180 (from the peak of 250 down to 70).
Limits
These are descriptive statistics on the trades you provide. A small sample, survivorship in which trades you logged, and changing market conditions all limit how far past results describe future ones. The stats are a review aid, not a forecast.