# Ecommerce Trade and B2B: Fleet Cost Estimator

An interactive estimator with two sliders for fleet size and service years that reprice upfront spend, projected repairs, and cost per bag live.

- Page: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections/fleet-cost-estimator
- Collection: [Ecommerce](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro), Standard tier
- Group: [Trade and B2B](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections)
- Created: 2026-07-10
- Preview image: https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections/fleet-cost-estimator.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/ecommerce-pro-trade-sections-fleet-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: radix-ui
- shadcn/ui components: slider
- Installs to: `@/components/blocks/ecommerce-pro/trade-sections/fleet-cost-estimator`

## About this block

Fleet Cost Estimator gives a buyer two sliders, fleet size and years
in service, and reprices the whole fleet as they drag. The unit
price drops into its volume band, upfront spend lands on one net 30
invoice, projected repairs accrue across the service life, and a
summary line resolves it all to cost per bag per year. Every number
comes from the published bands and the measured repair rate, so the
estimate matches the quote.

Two pieces of state drive the math, fleet and years. Bands and the
repair rate are constants at the top of the file, the tiles and the
summary derive from them so a data swap is a one line change.

## When to use

Reach for this block on the trade page near the pricing table, where
a buyer sizing a fleet purchase wants a number before writing to
sales. Let a person price themselves first, an honest estimator
filters inquiries to serious ones and anchors the quote that
follows.

A natural flow around it on an Ecommerce Pro page:

**Before**

- [Volume pricing table](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections)

**After**

- [Trade application form](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections)
- [Pricing transparency](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/pricing-transparency-sections)

## What you can display

One strong use is the fleet cost projection. Other estimators:

- **Rollout budget.** Headcount and years for a company wide kit
  order.
- **Total cost of ownership.** Purchase plus repairs against a rival
  that omits them.
- **Renewal planner.** Replacement timing for a fleet already in
  service.

> Tip: include the repairs line most calculators hide, showing the
> running cost alongside the purchase is what makes the per bag per
> year figure believable.

## More in Ecommerce Trade and B2B

- [Fleet Case Study](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections/fleet-case-study)
- [Pro Stories Row](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections/pro-stories-row)
- [Sample Kit Card](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections/sample-kit-card)
- [Trade Application Form](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections/trade-application-form)
- [Trade Faq](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections/trade-faq)
- [Trade Onboarding Steps](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections/trade-onboarding-steps)
- [Trade Perks Grid](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections/trade-perks-grid)
- [Trade Portal Preview](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections/trade-portal-preview)
- [Trade Terms](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections/trade-terms)
- [Trade Versus Retail](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections/trade-vs-retail)
- [Volume Pricing Table](https://www.shadcn-ui-blocks.com/blocks/ecommerce-pro/trade-sections/volume-pricing-table)
