Skip to content

Refund-if calculator

Free

Work a two-stage 'refund if' offer and lock in the refund's value.

Refund-if calculator widget

Loading the interactive widget…

Design — font, colours, radius
Font

Inherit the font of the page it sits on.

Colours
Radius

Default keeps the widget's own corners.

Accent, surface, text and radius are the only overridable tokens: a bounded set that keeps every widget readable. Fonts are stacks, so an embed never downloads one.

Embed code
Embed codeLive

This rewrites itself as you change the controls above: font, colours and radius. It is exactly what renders the preview.

index.html
<div data-or-widget="refund-if"
     data-or-theme="midnight"
     data-or-font="host"></div>
<script src="https://oddsrelay.io/widgets/v1/oddsrelay-widgets.js" crossorigin="anonymous" async></script>

Paste it once, anywhere. The script auto-mounts every data-or-widget element and is style-isolated in a Shadow DOM, so it never clashes with your CSS.

Installing on WordPress, Webflow, Squarespace, Wix or React?
WordPress
Add a Custom HTML block (or switch the classic editor to the Text tab) and paste the snippet.
Webflow
Drop in an Embed element, paste the snippet, and publish. The widget renders on the published site.
Squarespace
Insert a Code block where you want the widget and paste the snippet as HTML.
Wix
Add an Embed HTML element (iFrame-free custom code) and paste the snippet.
Shopify
Paste into a Custom Liquid section (or theme.liquid for every page). A section keeps the widget on the one template you want it on.
React / Next.js
Render the div, then load the script once (e.g. next/script or an effect). The bundle auto-mounts new [data-or-widget] elements; call window.OddsRelay.scan() after client-side navigations if needed.

A 'refund if' offer pays money back when some condition happens — a sending-off, a 0-0, your team losing. Stage one is a normal qualifying back-and-lay that fixes a small loss. Stage two lays the trigger event so the retained refund value comes out as profit either way. Enter both stages and this calculator gives you the initial lay, the trigger lay and the guaranteed profit.

What it does

  • Both stages in one place: the qualifying lay and the trigger lay
  • Refund value from the max refund and your retention estimate
  • The locked-in profit once the offer is worked
  • One tap to copy each lay stake
  • Runs entirely in your browser

How to use it

  1. 1Enter the qualifying bet. Type the back stake, commission, back odds and lay odds for stage one.
  2. 2Add the refund and trigger. Enter the max refund and retention %, then the trigger-lay odds and commission.
  3. 3Read the profit. See both lay stakes and the locked-in profit, with one tap to copy each stake.

What powers this

This calculator runs entirely in your browser. There's no account, no API key and no feed, and nothing you type leaves the page. The maths is the same commodity matched-betting and value arithmetic used across the industry, implemented carefully and unit-tested.

Questions

What is a 'refund if' offer?
A bookmaker promotion that refunds your stake (usually as a bonus) if a specific event happens during the game. Laying that trigger event on the exchange turns the refund into guaranteed value.
Why are there two lay stakes?
The first lays off the qualifying bet to fix a small loss; the second lays the trigger event so the retained refund value is captured whether the trigger happens or not.
What retention should I use?
Enter the share of the refund you expect to keep after working it, as a percentage. The refund's cash value in the maths is the max refund multiplied by that rate.

18+ · Data product for licensed operators. Please gamble responsibly.

Building a betting product?

Every widget here is free to embed. When you need the feed behind them, matched and rated, start a free trial or get in touch.