Random Number Generator

Generate one or more random numbers within a range you choose.

Random number(s) —
Range —
Sum —

Emaitzak idazten duzun heinean eguneratzen dira.

Did this calculator give you the right answer?

Kalkulagailu honi buruz

you want to draw a random number, you can set the range from 1 to 250. The generator then returns the number of prize winners in that range and the total of the prize winners. If you want to draw a random number, you can set the range from 1 to 250. The generator then returns the number of prize winners in that range and the total of the prize winners. If you want to draw a random number, you can set the range from 1 to 250. The generator then returns the number of prize winners in that range.WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:WorkedWorked example:Worked example

Frequently asked questions

Are the numbers truly random?

They use the browser’s built-in pseudo-random generator, which is uniform and more than fair for games, draws and everyday sampling, but is not cryptographically secure — do not use it to generate passwords or security keys.

How do I draw several unique numbers?

Open advanced options, set “How many numbers” and switch “No duplicates” to unique. The generator then draws that many distinct values from the range — ideal for a raffle where each ticket can only win once.

Are the minimum and maximum included in the range?

Yes — both bounds are inclusive for whole numbers, so a range of 1 to 6 can return any of 1, 2, 3, 4, 5 or 6, just like a die. If you enter the maximum below the minimum the calculator simply swaps them.

Can I generate decimal numbers?

Yes — set the number type to decimals under advanced options and it returns values rounded to two decimal places within the range, useful for randomised measurements, prices or probabilities.

Can I use it to pick lottery numbers?

Yes — set the range to match your lottery (say 1 to 49), the count to how many numbers are drawn, and “No duplicates” to unique so no number repeats. It is a fair uniform draw, though remember every combination has exactly the same odds.

Can this random number generator draw negative numbers?

Yes — set the minimum to a negative value (for example −10 to 10) and the generator draws from the whole span, including zero and the negatives.

❤️ Maitasuna Calculator.Free? Partekatu

𝕏  X Facebook Reddit
API — erabili kalkulagailu hau kodetik

Deitu kalkulagailu honi JSON amaierako puntu libre gisa — ez da gakorik behar. Bidali beheko eremuen balioak kontsultaren parametro edo JSON gisa. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Irakurri APIaren dokumentazioa osorik →

Amaierako puntua

GET https://calculator.free/api/v1/random-number/

curl

curl "https://calculator.free/api/v1/random-number/?min=1&max=100"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/random-number/?" + new URLSearchParams({
    "min": "1",
    "max": "100"
  }));
const data = await r.json();
console.log(data.results);

Emaitzak gida orokorrerako estimazioak dira, ez finantzarioak, medikuak edo zerga aholkuak.