Skip to contents

This function provides the implied probability or "Break Even" win percentage for a given bet.

Usage

implied_prob(odds, type = "us")

Arguments

odds

American Odds of the bet

type

Type of odds. Possible values are:

  • us, American Odds

  • dec, Decimal Odds

  • frac, Fractional Odds

Value

Implied probability of winning or the "Break Even" percentage

Examples

implied_prob(-150)
#> [1] 0.6
implied_prob(360)
#> [1] 0.2173913
implied_prob(c(360, -500, -110, 140))
#> [1] 0.2173913 0.8333333 0.5238095 0.4166667
implied_prob(c(3.60, 5.00, 1.10, 1.40), type = "dec")
#> [1] 0.2777778 0.2000000 0.9090909 0.7142857
implied_prob(c(5/2, 1/2, 7/1, 20/1, 10/11), type = "frac")
#> [1] 0.28571429 0.66666667 0.12500000 0.04761905 0.52380952