---
title: "What Is Gain to pain? Meaning and Example | RupeeCase"
description: "Gain to pain is the sum of all weekly returns divided by the sum of all weekly losses, counted as positive numbers. Common misreadings explained."
source_url: "https://www.rupeecase.com/learn/glossary/gain-to-pain"
---

**In one line.** All the weekly returns added up, divided by all the weekly losses added up as positive numbers. A reading of 0.5 means the net gain was half the size of the total losses suffered on the way.

## Gain to pain, explained

Add every weekly return, gains and losses together, to get the net result. Separately add up the size of the losing weeks, ignoring the minus signs. Divide the first by the second. The ratio asks how much net result each unit of pain produced. A value of 1 says the net gain equalled the total of the losses; a value below 0 says the losses outweighed the gains.

Unlike the Sharpe ratio, it uses no standard deviation and no risk free rate, and like the Sortino ratio it penalises only losses, but it works with the actual size of every loss and not a squared average. It also depends on the length of history: more years of steady gain push the numerator up while losses accumulate too, so comparisons are fairer between periods of similar length. A weekly version will not give the same number as a monthly one.

A high value can come from a few large gains against many small losses, or from a long run of small gains and almost no losses, and the ratio does not tell which. It is also blind to the order of returns, so it says nothing about a long slump; time under water and drawdown cover that. Used with the share of positive weeks, it shows whether profits came from frequency or from size. The profit factor is a close neighbour that divides gains by losses, not net result by losses.

## The formula

`Gain to pain = Sum of all weekly returns / Sum of the absolute values of the losing weeks`

## A worked example

Illustration: eight weekly returns of +2, -1, +1.5, -0.5, +3, -2, +1 and -1 percent. Their sum is 2 - 1 + 1.5 - 0.5 + 3 - 2 + 1 - 1 = +3.0 points. The losing weeks are -1, -0.5, -2 and -1, which add up to 4.5 in size. Gain to pain = 3.0 / 4.5 = 0.67. The gross gains were 7.5 points, so the 4.5 points of pain absorbed 60 percent of them, and what remained was 3.0. The numbers are invented to show the steps.

## Common misreadings

* Gain to pain is the Sharpe ratio under another name: it uses the size of losses and the sum of returns, with no standard deviation.
* Gain to pain shows the worst loss: it adds up all losing weeks, and the worst fall is a separate figure.

## In the RupeeCase app

Strategy page and portfolio page, Returns tab, Return figures card. Shown in Advanced, or pin it to Basic.

**How the app works it out.** Sum of every weekly return over the sum of the absolute losing weeks.

Watch: [Advanced risk figures](/learn/terminal/advanced-risk-figures), [Return figures](/learn/terminal/return-figures-card).

Why can gain to pain be negative?If the sum of all weekly returns is below zero, the numerator is negative, so the ratio is too. It means the losing weeks outweighed the winning ones over the period.

Does gain to pain need weekly data?No. It can be computed on daily or monthly returns, but the value changes with the interval, so figures are comparable only when the same interval is used.

LWhere Learn uses it

## 1 module that teaches with Gain to pain.
[Module 2.3Risk Metrics That Matter9 min, Path 02](/learn/path-2/module-2-3-risk-metrics-that-matter)

GRelated terms

## Read next.
[GlossarySortino ratioLike Sharpe but only penalises downside volatility. Better measure because investors care](/learn/glossary/sortino-ratio)[GlossaryCalmarGrowth per year divided by the deepest fall. A Calmar of 1 means the yearly growth was as](/learn/glossary/calmar)[GlossaryPositive weeksThe share of weeks in which the value went up. 60 percent positive weeks means 6 weeks in](/learn/glossary/positive-weeks)[GlossaryAverage weekThe mean of all weekly returns. Average up week is the mean of the weeks that rose and](/learn/glossary/average-week)[GlossaryProfit factorEverything the winning positions made divided by everything the losing ones lost. Above 1](/learn/glossary/profit-factor)[GlossarySharpe ratioReturn above a risk free rate for each unit of volatility. A higher figure means more](/learn/glossary/sharpe-ratio)[GlossaryOmega at 6%The weekly gains above a 6 percent a year hurdle added up, divided by the weekly](/learn/glossary/omega-at-6)

[All 230 terms in the glossary](/learn/glossary)

      Community

## Join my WhatsApp group.

      Scan the code, fillFill one short form, and join my WhatsApp group. Slides, sources, factsheets and the rebalance logs live there, and members join a daily Google Meet with me.

      New to RupeeCase? [Getting started](/getting-started) [See the terminal](/terminal)

        [Start free](https://invest.rupeecase.com/signup)
        [Join the WhatsApp group](https://forms.gle/C6HMtM1Z2GfeocQV7)

      [One form, one group](https://forms.gle/C6HMtM1Z2GfeocQV7)Scan with your phone camera
