Random

Random Number Generator 1–100

Pick one or more cryptographically random numbers from 1 through 100 with exclusions, odd/even filters, session history, and CSV export.

Quick guide

How to use the Random Number Generator 1–100

  1. Enter or choose how many numbers?, repetition within batch, eligible numbers, display order, exclude numbers or ranges (optional), session history filter.
  2. Select Generate numbers.
  3. Review the main result, supporting breakdown, and step-by-step calculation notes.
  4. Copy the output or download the generated file when available.

What this tool does

Draw one or more integers from the fixed inclusive 1–100 pool with odd/even eligibility filters, custom exclusions (individual integers or ranges such as 3, 8, 20-25), optional session history filtering to avoid previous draws, non-redrawing ascending sort, and CSV export. All sampling uses crypto.getRandomValues() with unbiased rejection sampling.

Calculation method

  1. Start with all integers from 1 through 100 inclusive and apply any Odd-only or Even-only filter first.
  2. Remove every individual number and inclusive range listed in Exclusions, plus previously drawn session numbers if session history filtering is enabled.
  3. Sample up to 100 numbers via Fisher–Yates shuffle (without repeats) or independent rejection sampling (with repeats), rejecting impossible counts rather than silently truncating.
  4. Retain up to 20 session batches in browser memory, allow sorting between generated and ascending order without redrawing, and export position,number CSV.

Example: draw five odd numbers from 1–100 excluding 20–25

Input: Count: 5; Repetition: No repeats; Eligible: Odd only; Exclude: 3, 8, 20-25

Result: 5 unique odd values such as 17, 41, 63, 79, 95 (46 eligible numbers remaining)

Odd filtering leaves 50 numbers; removing 3, 21, 23, and 25 leaves 46 eligible numbers (8 and even numbers in 20–25 were already outside the odd pool). Switching Display order to Ascending sorts the drawn batch in place without redrawing.

Practical uses

  • Classroom picks and raffle boards (1–100)
  • Board-game and tabletop percentile (d100) rolls
  • Auditable random sampling with excluded IDs
  • Multi-round prize draws avoiding previous winners

Accuracy tips and common mistakes

  • Changing settings or switching Display order to Ascending never silently triggers a new draw; click Generate numbers only when you want a fresh draw.
  • Session draw history is stored in memory only and resets automatically on page reload or when you click “Reset history & pool.”
  • Use a regulated and independently audited system for legally controlled lotteries.
Frequently Asked

Random Number Generator 1–100 – Frequently Asked Questions

Common questions, edge-cases, and mathematical explanations.

Are both 1 and 100 included?

Yes. The available range is inclusive, so every integer from 1 through 100 can be selected.

Can I exclude specific numbers or ranges like 20-25?

Yes. Enter comma-separated integers or inclusive ranges such as “3, 8, 20-25” in the Exclusions box. Exclusions apply in both repeat and no-repeat modes.

Does switching to Ascending order generate new random numbers?

No. Display order sorts the existing drawn batch in place and updates the CSV export without consuming a new random draw.

Analytics preferences

Optional Google Analytics cookies help us understand visits and improve our tools. Analytics is off until you allow it. Your tool inputs and files are never included in our analytics events. Read our privacy policy.

Analytics is off.