Expand description
This crate embeds the 2026 United States residential property tax dataset compiled by the
Calcuris Data Team — effective property tax rates, median annual
taxes paid, median home values and median household incomes for the 50 states plus the
District of Columbia and for 3,132 individual counties — and exposes a small,
zero-dependency Rust API to query it. Both source CSVs are embedded in the binary via
include_str! and parsed on demand by a tiny internal parser.
§Where the numbers come from
The data is not modelled or interpolated. County figures are the published medians of the
U.S. Census Bureau’s American Community Survey, ACS 2023 5-year estimates (tables B25103
real-estate taxes paid, B25077 home value, B19013 household income); the effective rate
is the standard ratio of medians (median tax ÷ median home value) used by the Tax
Foundation and SmartAsset. State-level effective rates follow the Tax Foundation’s 2024
table as republished in June 2026. The full methodology, dataset DOI
(10.5281/zenodo.21454886) and citation
instructions are on the cite-this-data page.
§Going further
This crate deliberately ships raw data with no simulation logic. For interactive use, the same dataset powers the US property tax calculator on calcuris.com, which resolves rates down to individual cities (10,058 of them) with per-state pages such as New Jersey — the most-taxed state. Every calculator can also be embedded for free on your own site.
§Example
use us_property_tax_data::{states, state, counties, highest_rate_states};
// New Jersey: highest effective property tax rate in the country.
let nj = state("NJ").unwrap();
assert_eq!(nj.effective_rate_pct, 1.88);
assert_eq!(nj.median_tax_usd, 9590);
// All 51 jurisdictions, and the top of the ranking.
assert_eq!(states().len(), 51);
let top = highest_rate_states(3);
assert!(top.iter().any(|s| s.state_code == "NJ"));
// Every county of a state, ranked by effective rate.
let texas = counties("TX");
assert!(texas.len() > 200);
assert!(texas[0].effective_rate_pct >= texas[texas.len() - 1].effective_rate_pct);Structs§
- County
Row - One county-level row of the 2026 dataset (3,132 counties).
- State
Row - One state-level row of the 2026 dataset (50 states + DC).
Functions§
- counties
- Every county of a state (two-letter code, case-insensitive), ordered by in-state rank (highest effective rate first). Empty if the code is unknown.
- highest_
rate_ states - The
nstates with the highest effective property tax rate, descending. - lowest_
rate_ states - The
nstates with the lowest effective property tax rate, ascending. - state
- Look up one state by its two-letter code (case-insensitive).
Noneif unknown. - states
- All 51 state-level rows (50 states + DC), in CSV order (alphabetical by code).