Why it matters
A block that is too large in SPF approves thousands of servers you do not control. The calculator shows exactly how many addresses the term covers.
Range to blocks
If you have a range that does not fit in one block, we work out the smallest blocks that cover it.
How to use the calculator
- Enter a block, like 203.0.113.0/24 or 2001:db8::/48. The answer appears as you type.
- Enter a range with a hyphen, like 203.0.113.10 - 203.0.113.40, to get the blocks that cover it.
- Copy the SPF term straight into the SPF record.
Common sizes
- IPv4 /32: 1 address. /29: 8. /28: 16. /24: 256. /16: 65,536.
- IPv6 /128: 1 address. /64: one normal network. /48: a common allocation to a company.
Addresses that do not start on the block boundary
If you write 203.0.113.10/24, the receiver still uses the whole block from 203.0.113.0. The calculator warns when the address does not start on the boundary, so you see what the term really covers.