Calculators › Trading
CSV Trade Journal Analyzer
Turn a CSV export from your trading journal or broker into core performance stats and a cumulative P&L curve, entirely inside your browser.
A trade journal analyzer reads a local CSV of closed-trade P&L, keeps it inside the browser with FileReader, and computes win rate, net P&L, profit factor, expectancy, payoff ratio, loss streaks and maximum drawdown on the cumulative equity curve.
Trade log input
Journal stats
Cumulative P&L curve
How it works
What this calculator does
It reads a CSV of closed trades, finds or lets you choose the P&L column, parses numeric trade results, and calculates the main journal statistics a trader usually checks after a sample of trades.
Privacy model
The CSV is handled by browser-side JavaScript with FileReader. There is no account connection, no upload and no server-side storage. Closing the tab clears the data from the page.
The stats
The engine counts wins and losses, then computes win rate, gross profit, gross loss, net P&L, profit factor, average win, average loss, payoff ratio, expectancy per trade, largest win, largest loss, max consecutive wins and losses, and maximum drawdown on the cumulative P&L curve.
expectancy = net P&L / trade count
profit factor = gross profit / absolute gross loss
Worked example
For P&L values [100, -50, 200, -100, -80, 300, -40], net P&L is $330 across seven trades, win rate is 3 / 7, profit factor is 600 / 270, expectancy is $47.14 per trade, and the maximum drawdown on the cumulative curve is $180.
What it deliberately does not do
It does not clean messy broker semantics beyond a numeric P&L column, merge partial fills, infer taxes, or decide whether the sample is large enough. It is a local arithmetic and parsing tool, not a performance audit service.
Frequently asked questions
Does my CSV get uploaded?
What columns does it need?
Does it handle quoted commas in CSV files?
How is maximum drawdown calculated?
Is profit factor enough to judge a strategy?
Related calculators
About · Affiliate disclosure · Risk disclosure · Contact · Privacy · Cookie · Disclaimer
Information tool only — not investment, trading, tax, or financial advice. All computation runs in your browser.