# Marketing Calculator: Usage Cost Estimator

Two column pricing estimator with seat and project steppers and add on switches beside a live itemized receipt that totals your monthly cost.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/usage-cost-estimator
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing-pro), Standard tier
- Group: [Calculators](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators)
- Created: 2026-07-10
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/usage-cost-estimator.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-pro-calculators-usage-cost-estimator
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: button, switch
- Installs to: `@/components/blocks/marketing-pro/calculators/usage-cost-estimator`

## About this block

Usage Cost Estimator lets the buyer build their own bill. Stepper rows
for seats and projects sit beside two add on switches, and every change
lands on a live receipt to the right, line by line, ending in the
monthly total and a note on what paying yearly saves at that size. The
lede promises the number before checkout, and the receipt keeps that
promise.

A client component on the ui Button and Switch with plain useState, the
constants at the top of the file are the whole price model, the base
price, the included allowances, and the per seat and per pack rates.
Set them to your own plan and the steppers, the switches, and the total
all recompute together.

## When to use

Reach for this block on a pricing page where the plan is usage based and
the sticker number depends on the buyer. A table of tiers makes them do
the arithmetic in their head, the estimator does it for them and shows
the total the moment they stop dragging, which is exactly when intent
peaks and the CTA is waiting.

A natural flow around it on a Marketing Pro page:

**Before**

- [Feature](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/feature-sections) sections listing
  what each seat and project actually unlocks

**After**

- [CTAs](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/ctas) for the visitor who just built
  their exact setup
- [FAQs](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/faqs) answering the billing questions a
  live receipt tends to raise

## What you can display

One strong use is a per seat plan with project packs. Other billing
shapes:

- **Metered usage.** Steppers for API calls or storage, priced in blocks
  once a free allowance runs out.
- **Module pricing.** Switches for optional modules that each add a flat
  monthly line to the receipt.
- **Annual toggle.** A switch that reprices the whole receipt at the
  discounted yearly rate in place.

> Tip: keep every line on the receipt, a total with no breakdown reads
> as a number you made up on the spot.

## More in Marketing Calculators

- [Affiliate Earnings Calculator](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/affiliate-earnings-calculator)
- [Annual Billing Toggle](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/annual-billing-toggle)
- [Build Vs Buy Calculator](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/build-vs-buy-calculator)
- [Churn Impact Calculator](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/churn-impact-calculator)
- [CPL Benchmark Calculator](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/cpl-benchmark-calculator)
- [Downtime Cost Calculator](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/downtime-cost-calculator)
- [Email Volume Calculator](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/email-volume-calculator)
- [Funnel Projection Calculator](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/funnel-projection-calculator)
- [Ltv Calculator](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/ltv-calculator)
- [Payback Summary Static](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/payback-summary-static)
- [Roi Calculator](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/roi-calculator)
- [Savings Slider](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/savings-slider)
- [Team Size Estimator](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/team-size-estimator)
- [Test Duration Calculator](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/calculators/test-duration-calculator)
