Random Number 1–30 Generator

Generated using the Web Crypto API for cryptographically secure randomness.

Pick a number between 1 and 30

This tool picks a whole number from 1 to 30, each with an equal 3.33% chance. Thirty covers a month of days, a typical class register, and a 30-item list — the ranges people most often reach for between 1–20 and 1–50.

Every draw uses the Web Crypto API rather than Math.random(), so the result is cryptographically secure, uniform, and unpredictable.

Use cases

  • Pick a random day of a 30-day month for a draw or challenge
  • Choose a random student from a class register of 30
  • Select a random item from a 30-entry list or bracket
  • Run a 30-day-challenge shuffle (day picker)
  • Assign lockers, seats, or jerseys numbered up to 30

Frequently asked questions

Is every number equally likely?

Yes. Each number from 1 to 30 has an equal 3.33% chance on every generation, mapped with rejection sampling so no value is favored.

Why 1–30 and not 1–31?

Thirty matches 30-day months, class sizes, and 30-item lists. For calendar-accurate day picking across any month, the random date generator handles month lengths for you.