Generator Angka Acak
Pilih bilangan bulat di antara dua nilai (keduanya termasuk).
Putuskan
Angka
Bilangan bulat acak di antara dua angka apa saja.
Dirancang adil: generator acak aman dari browser Anda, tanpa bias. Tidak ada yang keluar dari halaman ini.
Riwayat
Hasil Anda akan muncul di sini.
Cara kerjanya
- Masukkan dua bilangan bulat apa saja; setiap angka di antaranya, termasuk kedua ujungnya, punya peluang yang sama.
- Adil: setiap hasil berasal dari generator angka acak aman di browser Anda (crypto.getRandomValues), tanpa bias.
- Privat: apa pun yang Anda ketik atau tarik tidak keluar dari halaman ini. Tanpa cookie, tanpa pelacakan.
Worked example
73
1 – 100
This sample used the default range, 1 to 100, and landed on 73. Both ends can come up, and every number in between was just as likely. The line under the result shows the range.
Options
Choose any two whole numbers, negative ones included; if you swap them, the page puts them in order. The range may hold up to a little over four billion values.
Real uses
Draw a raffle ticket number, pick a page or chapter to read, choose a student by roll number, or pick a secret number for a guessing game.
How the randomness works
The page asks the secure generator for a number below the size of your range and throws away any value from the uneven remainder, so no number is favored. Repeats are possible, as with real dice.