obbba-overtime 0.1.2

Estimate the OBBBA above-the-line deduction for qualified overtime compensation, including the MAGI phase-out (2025-2028).
Documentation
# obbba-overtime

Estimate the **One Big Beautiful Bill Act (OBBBA)** above-the-line deduction for
*qualified overtime compensation* — the "no tax on overtime" provision —
including its Modified Adjusted Gross Income (MAGI) phase-out. Pure,
dependency-free Rust math — the same engine behind the
[NoOvertimeTax](https://noovertimetax.com/) overtime deduction calculator.

## Important: estimates pending final IRS guidance

OBBBA created a temporary (tax years **2025–2028**) above-the-line deduction for
FLSA-qualified overtime pay. The headline parameters below are widely reported
from the statute and early IRS guidance, but the IRS was still issuing
implementation details (exact MAGI computation, bonus treatment, precise
phase-out slope) through late 2025 and into 2026. **Every figure here is an
estimate / model input**, not a guarantee of any taxpayer's actual deduction.
Always confirm against final IRS guidance and a qualified tax professional.

Default (estimated) parameters:

| Parameter                 | Single / HoH | Married Filing Jointly |
|---------------------------|--------------|------------------------|
| Maximum deduction (cap)   | `$12,500`    | `$25,000`              |
| MAGI phase-out begins     | `$150,000`   | `$300,000`             |
| Phase-out reduction       | `$1` of deduction lost per `$10` of MAGI over the threshold |

## Usage

```rust
use obbba_overtime::{deduction, tax_savings, FilingStatus};

// $8,000 of qualified overtime, MAGI $90,000, single → full $8,000 deduction
let d = deduction(8_000.0, 90_000.0, FilingStatus::Single);
assert!((d - 8_000.0).abs() < 1e-6);

// Estimated federal savings at a 22% marginal rate
let s = tax_savings(10_000.0, 80_000.0, 0.22, FilingStatus::Single);
assert!((s - 2_200.0).abs() < 1e-6);
```

Parameters are overridable via [`Params`](src/lib.rs) so the crate can track IRS
guidance as it finalizes.

## Live calculator

For an interactive version, see the
[NoOvertimeTax on crate doc obbba overtime](https://noovertimetax.com/) at
NoOvertimeTax.

License: MIT