> For the complete documentation index, see [llms.txt](https://docs.rafflex.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rafflex.io/managing-your-site/analytics/profit-and-loss.md).

# Profit & Loss

How the Profit & Loss tab works out your revenue, costs and profit for each competition, what counts as turnover, and how site credit and wallets are treated.

***

### Where to Find It

1. Click **Analytics** in the left-hand menu.
2. Open the **Profit & Loss** tab.
3. Pick a date range, or use **Today**, **Yesterday**, **Month to Date** or **Last Month**.

Each competition also shows its own **Costs** and **Profit / Loss (Cash)** at the top of its edit page.

{% hint style="info" %}
Staff accounts with **Restrict Financials** switched on cannot see the Analytics section, the Turnover column or the profit and loss figures on a competition. See [Staff Accounts and Access](https://docs.rafflex.io/managing-your-site/customers/staff-accounts-and-access.md).
{% endhint %}

***

### The Calculation

For every competition:

> **Profit / Loss (Cash)** = **Turnover** − **Costs**

* **Turnover** is the real money customers paid for that competition. It is also called **Cash Revenue**.
* **Costs** are the **Draw Cost** you entered for the competition, plus the **Cost** of every instant win prize that has been won.

On a competition's edit page the same figures are called **Revenue** and **Credit Used**.

The date range works on the competition's **end date**. A competition is counted on the day it ends, and all of its sales count towards it, even sales made weeks earlier. This is different from the **Overview** tab, which counts each order on the day it was placed, so the two tabs will not show the same totals for the same dates.

***

### What Counts as Turnover

Turnover only counts money that came in from outside your site.

| Counted in Turnover                                             | Not counted in Turnover                                                  |
| --------------------------------------------------------------- | ------------------------------------------------------------------------ |
| Card payments (Cashflows)                                       | Site credit spent at checkout (shown as **Credit Revenue** instead)      |
| The card part of an order paid partly with card and site credit | Free entries and postal entries                                          |
|                                                                 | Club member entries (the membership fee is charged separately)           |
|                                                                 | Coupon discounts (turnover is what the customer actually paid)           |
|                                                                 | Orders that were cancelled, refunded or never completed                  |
|                                                                 | Wallet top ups (see [Site Credit and Wallets](#site-credit-and-wallets)) |

**Example.** A customer buys £20 of tickets, uses a £5 coupon, and pays £10 by card and £5 from their site credit. Turnover for that competition goes up by **£10**, and Credit Revenue goes up by **£5**.

The **Turnover** column on your Competitions list (click a cell to reveal it) uses the same calculation, so the two always match.

***

### What Counts as a Cost

Only two things are counted as costs:

1. **Draw Cost.** What the main prize costs you, entered on the competition next to **Cash Alternative**. Enter it once for the whole competition.
2. **Instant win Cost.** What one instant win prize costs you, entered on each instant win (**Cost per win** when you add them in bulk). It is counted once for every instance of that prize that has been won. If you refund the order that won it, the prize is no longer counted. A prize with no cost entered adds nothing.

{% hint style="info" %}
**Boost extras are not counted.** The extra paid by a [boosted instant win](https://docs.rafflex.io/marketing/promotions/boosted-instant-wins.md#reporting) is not a cost here, so the instant winners export runs higher than this page by the boosts paid.
{% endhint %}

When you add instant wins, [The Instant Win Budget Bar](https://docs.rafflex.io/create-your-first-raffle/add-instant-wins/instant-win-budget-explained.md) checks that their site credit prizes are affordable before the competition goes live.

Nothing else is counted, so the profit shown is before:

* card processing fees
* advertising and marketing
* your RaffleX subscription
* delivery, admin and staff costs
* tax and VAT
* site credit you give away (see below)

{% hint style="warning" %}
If your winner takes the cash alternative, or the prize ends up costing more than you expected, update the **Draw Cost** before the competition finishes so the figure is right.
{% endhint %}

{% hint style="info" %}
**Running a Prize Choice competition?** The prizes your [Prize Choice](https://docs.rafflex.io/create-your-first-raffle/prize-choice.md) winners receive are not added to your costs automatically. Set the **Draw Cost** to what you expect them to cost you, and update it after the draw once you know which prizes were won.
{% endhint %}

#### Competitions with no Draw Cost

The Draw Cost must be filled in when you create a new competition. Enter **0** if the prize costs you nothing. If you later clear it, the competition goes back to **Not set**.

Older competitions created before Profit & Loss was added may have no Draw Cost. Those show **Not set** instead of a profit or loss, and they are left out of the Turnover, Costs and Profit / Loss totals. The totals tell you how many were left out. This is so a missing cost never makes a competition look profitable. To include one, open it and add its Draw Cost.

***

### Site Credit and Wallets

Site credit is kept apart from cash, because not all site credit was paid for. Some was bought with a card top up, but some was won, given as cashback or referral rewards, or added by you.

The tab shows the credit figures alongside the cash ones:

| Figure                       | What it shows                                                                                                                                                                                                                                         | Dated by                    |
| ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |
| **Credit Revenue**           | Site credit customers spent on competitions. Shown as **Wallet used total** per competition. It counts every competition, even those with no Draw Cost.                                                                                               | Competition end date        |
| **Wallet Top-ups**           | Real money customers paid by card to add site credit to their wallet.                                                                                                                                                                                 | The day the top up was paid |
| **Cash Converted to Credit** | Money customers moved from their [Cash Wallet](https://docs.rafflex.io/additional-settings/wallet-and-withdrawals/site-credit-and-wallets/cash-wallet.md) into site credit, not counting any conversion bonus. Only shown when the Cash Wallet is on. | The day it was moved        |

Wallet top ups are never counted as turnover for a competition. The money is counted when it comes in (Wallet Top-ups), and then again as Credit Revenue when the customer spends it. Adding them both to turnover would count the same money twice.

#### Tracking What Your Wallets Cost You

Profit / Loss (Cash) only looks at real money in and the costs you entered, so it does not include the cost of credit. To work this out yourself:

1. **Credit that was paid for.** Wallet Top-ups plus Cash Converted to Credit is the real money that went into site credit over your date range. When that credit is spent it shows as Credit Revenue, not Turnover, so a site where lots of customers top up will show lower cash turnover than it really took.
2. **Credit you gave away.** Site credit prizes, cashback, referral rewards, refunds you pay back as site credit, the Cash To Credit Bonus and credit you add by hand cost you nothing when you give them, and the tab does not count them as a cost. Credit only costs you real money if it is withdrawn. When a customer spends it instead of paying by card, you take less cash, and the tab already shows that spend as Credit Revenue.
3. **Withdrawals.** Money customers withdraw is not part of Profit & Loss. Use the [Customer Withdrawals](https://docs.rafflex.io/managing-your-site/downloads/customer-withdrawals.md) report to see what has been paid out.

#### Should I Enter a Cost for a Site Credit Instant Win?

Entering a payout amount does not set its cost. The **Cost** field is separate, so a site credit or cash prize costs nothing in Profit & Loss until you enter one.

* **The prize pays into the Cash Wallet, or your customers can withdraw site credit.** Enter the payout as the Cost. That money can leave your site, so it is a real cost.
* **The prize pays site credit that can only be spent.** It is up to you. Leave the Cost empty to count it as free, which matches the fact that no money leaves your site. Or enter the payout as the Cost if you would rather see the most cautious profit figure.

The same choice applies to the **Draw Cost** of a competition whose main prize is site credit.

Whichever you choose, use the same rule on every competition so your figures can be compared.

***

### When the Figures Are Final

* **While a competition is running**, the Profit & Loss tab shows **N/A** for it. Its edit page shows the profit or loss **so far**.
* **When the end date passes**, the competition is counted in the totals.
* **30 minutes after the end date**, the figures become final. The extra time lets late orders finish. They are saved the first time they are shown after that point, and from then on refunding an order does not change them.
* **Changing the Draw Cost, the end date or an instant win's Cost, or adding or removing an instant win**, works the competition's figures out again straight away. Any refunds made since it finished are included when this happens.
* **A competition that sells out** has its end date moved to the moment it sold out, so it is counted on that day, not on its original end date.

{% hint style="success" %}
Unlaunched competitions are left out. A duplicate you never switched on does not show as a loss, but a competition you ran and then hid is still counted.
{% endhint %}
