December 4, 2026 · 5 min read
A routing number (also called ABA RTN — Routing Transit Number) is a 9-digit code that identifies financial institutions in the United States for wire transfers, ACH payments, and check processing. Every US bank has at least one routing number; larger banks may have multiple for different regions or transaction types.
The 9 digits break down as follows:
| Position | Name | Description |
|---|---|---|
| 1–4 | Federal Reserve Routing Symbol | Identifies the Federal Reserve district and processing center |
| 5–8 | ABA Institution Identifier | Unique identifier for the bank within the district |
| 9 | Check Digit | Mod-10 checksum for validation |
The 9th digit is a checksum calculated using a weighted sum algorithm (mod 10):
Weights: [3, 7, 1, 3, 7, 1, 3, 7, 1]
Sum = (d1×3 + d2×7 + d3×1 + d4×3 + d5×7 + d6×1 + d7×3 + d8×7 + d9×1) mod 10
Valid if Sum = 0
Our validator uses the official Fedwire Funds Service directory maintained by the Federal Reserve. This directory contains 18,000+ active routing numbers with bank names, addresses, cities, states, ZIP codes, and phone numbers. We update our local copy monthly via automated workflow.
Need test data? The generator creates structurally valid routing numbers with correct checksums. Perfect for:
Validate user input in payment forms before API calls. Reduce failed transactions.
Generate valid routing numbers for test cases. Verify error handling for invalid inputs.
Quickly verify vendor routing numbers before setting up ACH payments.
Learn how banking identifiers work. Understand checksum algorithms.