Resources / BlogCore product

How OnGain defines capital gain

By OnGain Team · · 9 min read

A clear number beats a comforting one. Here is the definition we use, why cash is out, and how to read it without fooling yourself.

OnGain portfolio dashboard showing value and capital gain on holdings

Open three broker apps and one spreadsheet. Ask each: How much am I up? You will often get four different answers—not because markets moved in the last second, but because “gain” is overloaded.

Some tools fold in cash. Some treat contributions as return. Some show price change only. Some mix realized and unrealized without saying so. The result is a number that feels good in a screenshot and collapses in a serious conversation.

OnGain is built as a portfolio layer above your brokers. That only works if key metrics mean the same thing every time you open the app. Capital gain is one of those metrics.

The definition we use

Capital gain in OnGain focuses on non-cash holdings—the invested positions in your portfolio (stocks, ETFs, and similar holdings), not idle cash sitting beside them.

In plain language:

Cash still matters. It shows up in total value and allocation. It just should not pretend to be market skill when it is sitting still.

That definition is applied consistently on the home dashboard and related overview surfaces—so the gain you see in one place is not a different philosophy two taps later.

Why cash muddies “performance”

Imagine two investors with the same stock picks. Investor A is fully invested. Investor B keeps 30% in cash after a deposit, waiting for a better entry.

If your app’s headline “gain” blends cash and holdings naively, Investor B can look “worse” or “better” for reasons that have nothing to do with the stocks. Deposits look like genius. Cash drag looks like failure. Neither is a clean read on the portfolio engine.

Separating capital gain on holdings from cash as dry powder keeps the story honest:

What capital gain is not

How to use it day to day

  1. Check total value for the household snapshot.
  2. Check capital gain for invested positions—especially after noisy deposits or withdrawals.
  3. Check dividends / passive income if you care about cash generation, not only price.
  4. Drill into positions when one name dominates the move.

If a number ever feels “too good,” ask whether cash or contributions just hit the account. OnGain’s split is there so you ask that less often.

Multi-portfolio reality

Many investors run more than one depot: a core ETF book, a dividend sleeve, a speculative sleeve. Capital gain should remain coherent when you switch portfolios and when you look at the combined view. Same definition. Less mental accounting drama.

That is the point of a tracker that works with your brokers instead of pretending to be one.

Worked example (mental model)

Suppose your portfolio shows $100,000 in stocks/ETFs and $20,000 cash after a recent deposit.

Separating the lenses keeps conversations with yourself (and partners) adult: invested capital vs dry powder vs household total.

Realized vs unrealized (and why we still need care)

Unrealized gain is mark-to-market on positions you still hold. Realized gain appears when you sell. Product UIs sometimes blend them. When you reconcile broker tax exports, you may still need lot-level realized figures—that is normal. OnGain’s capital-gain clarity is about not lying in the daily cockpit, not replacing your accountant.

Edge cases worth knowing

How this pairs with analytics

Allocation and dividend distribution views answer where risk and income live. Capital gain answers how invested principal moved. Together with alerts and research, you get a full weekly review ritual in minutes instead of a spreadsheet archaeology session.

Takeaway

Capital gain is only useful if it is defined, stable, and explainable. OnGain’s choice—non-cash holdings, consistently—is a product decision for long-term investors who want less fog, not more fireworks.

Get started free

Related notes

Not investment advice. OnGain works with your brokers.