Productivity and Utilities

Non-Cryptographic Hash Calculator

Enter text or bytes to see eight fast hashes of it, with hex, decimal and bucket values.

Your numbers

Input is

Up to 100,000 characters. Line breaks are part of the text. Nothing is uploaded.

A whole number from 0 to 4,294,967,295.

The hash modulo this number, as used to place a key in a table.

Result

FNV-1a 32-bit

d58b3fa7

11 bytes hashed

Bytes hashed
11
Seed
0
Buckets
16
Bytes in hex
68 65 6c 6c 6f 20 77 6f 72 6c 64

All hashes

HashHexDecimalBucket
FNV-1 32-bit548da96f141857009515
FNV-1a 32-bitd58b3fa735826728077
FNV-1a 64-bit779a65e7023cd2e786183128797762567437
djb23551c8c18945522571
sdbm19ae84c44308676524
Jenkins one-at-a-time3e4a5a5710450601837
MurmurHash3 x86 32-bit5e928f0f158666318315
xxHash32cebb662234683878742
How this was calculated
  1. The text is turned into UTF-8 bytes (or the hex bytes you give are used), and every hash reads those bytes.
  2. FNV-1, FNV-1a, djb2, sdbm and Jenkins one-at-a-time fold each byte into a running value with multiplies, shifts and exclusive-or. MurmurHash3 and xxHash32 read four bytes at a time, mix them and finish with an avalanche step. Only Murmur3 and xxHash32 take a seed.
  3. The bucket is the hash as an unsigned number divided by the bucket count, keeping the remainder.
  • These hashes are fast and spread keys well, but they are not secure. Anyone can build different inputs with the same value, so never use them for passwords, signatures or integrity checks against an attacker.

Calculated using SumPanda.com · https://sumpanda.com/noncryptographic-hash-calculator/

Results are estimates for general information. Verify important figures before relying on them.

Next step

How to use the non-cryptographic hash calculator

  1. Choose whether your input is text or hex bytes.
  2. Type or paste the input. Text is turned into UTF-8 bytes.
  3. Set a seed for MurmurHash3 and xxHash32, and the number of buckets to place the hash into.
  4. Read the table with every hash in hex and decimal, and the bucket it chooses.

Formula

FNV-1: h = h x prime, then h = h xor byte. FNV-1a: h = h xor byte, then h = h x prime. Offset basis 0x811c9dc5 and prime 0x01000193 for 32 bits

djb2: h = h x 33 + byte, starting at 5381. sdbm: h = byte + (h << 6) + (h << 16) - h

Jenkins one-at-a-time: add the byte, add h << 10, xor h >> 6, and finish with three more mixing steps

bucket = hash mod number of buckets

MurmurHash3 and xxHash32 read four bytes at a time with several multiplications and rotations. Every 32-bit step is taken modulo 2^32.

The text foobar

FNV-1a with 32 bits gives bf9cf968 and with 64 bits 85944171f73967e8. FNV-1 gives 31f0b262. With seed 0, MurmurHash3 gives a4c4d4bd and xxHash32 gives eda34aaf. Jenkins one-at-a-time gives f952fde7, djb2 gives fde460be and sdbm gives a6437b0d.

With 16 buckets, the FNV-1 value 0x31f0b262 falls in bucket 2. The empty text hashes to 811c9dc5 under FNV-1a and to 00000000 under MurmurHash3 with seed 0. The 4 bytes de ad be ef give a different set of values from the text deadbeef, because bytes and text are not the same thing.

What these hashes are for

Hash tables, caches, sharding, deduplication and bloom filters need fast hashes that spread keys evenly. They do not need to resist an attacker. That is why these functions are short and quick, and also why they are a poor choice for passwords or signatures. For a secure hash, use the Hash Generator and File Checksum.

To see how hashes place keys on servers, try the Consistent Hash Ring Simulator. The Bloom Filter Calculator sizes a filter that uses several hashes, and the CRC32 Checksum Calculator is the right tool for catching accidental damage to a file. Check characters on identifiers are in the ISO 7064 Check Character Calculator.

Why the same text gives different values in different programs

Hashes work on bytes, so the text encoding matters. This tool uses UTF-8. A program that hashes UTF-16 characters, or that treats text as signed bytes, will give another value. Seeds, the width of the result and whether the bucket is taken from the low or high bits also differ between libraries.

Assumptions and limits

  • The input is read as UTF-8 text or as the hex bytes you give.
  • Each result is shown as an unsigned number. The 64-bit hash uses exact integer arithmetic.
  • The seed applies to MurmurHash3 (x86, 32-bit) and xxHash32 only.
  • Up to 100,000 characters are read, and nothing is uploaded.

Formulas reviewed October 10, 2026. See the calculation methodology for how SumPanda rounds, tests and sources its formulas.

Frequently asked questions

Is any of these safe for passwords?

No. They are built for speed, and a fast hash is the wrong tool for passwords. Use a slow password hashing function that is designed for the job.

Why do two hashes of the empty input differ?

Each function begins from its own starting value. FNV-1a starts at 0x811c9dc5, djb2 at 5381, and MurmurHash3 with seed 0 gives zero for no input.

Which one should I pick for a hash table?

Murmur3 and xxHash32 spread keys well and are common in libraries. FNV-1a is the simplest and works well for short keys. Test with your own data, since the best choice depends on the keys.

What is a bucket?

A slot in a table. Taking the hash modulo the number of buckets picks the slot for a key. A good hash makes every bucket about equally full.