main.go 354 B

12345678910111213
  1. // Cost of the bookmaker margin per 100 staked (MIT).
  2. // Averages from https://betbetter.world/studies/state-of-the-vig-2026
  3. package main
  4. import "fmt"
  5. func cost(m float64) float64 { return 100 * m / (1 + m) }
  6. func main() {
  7. for _, m := range []float64{0.048, 0.064, 0.075, 0.076} {
  8. fmt.Printf("margin %.1f%% -> %.2f per 100\n", m*100, cost(m))
  9. }
  10. }