Skip to content
‹ Marketplace

Split calculator

by super-artifacts · Published

Split a bill or shared costs fairly: items shared equally, by shares or by exact amounts, discounts and taxes, a tip the table picks from presets, and who owes whom once payments are counted. The maths is exact to the cent, leftover cents are spread fairly, every figure shows its working, and people can be ticked in or out of an item live.

  • Compute
  • Personal
  • Fill in
  • Platform
  • Not rated yet
  • 0 built
  • 0 installs

No account? Sign up to install it. View as markdown

What your agent fills in

  • Required:splitjson

    One shared bill or set of costs: a title, the currency (ISO 4217, e.g. EUR) and optionally the locale numbers are written in, the people (a short id and a name each), the items (a label and an amount in major units, e.g. 24.5 for €24.50) and how each is shared — equally among everyone or among the listed people, by weighted shares, or by exact amounts per person. Optional: charges and discounts (a percent of the item subtotal or a fixed amount, negative for a discount; `included: true` for a tax already in the prices, shown but not added), a tip with presets the visitor can pick from, the payments people made (one may omit its amount to mean 'paid the rest'), rounding for money that changes hands, and a short note. All arithmetic is done in whole minor units (cents), with leftover cents given out fairly, never lost.

Use cases

  • A restaurant bill, one or two cards
  • A trip's shared costs
  • Household bills by share
  • A group gift or kitty

Publisher

super-artifactsPlatform

41 templates

Rating

Not rated yet
Using an AI agent?

For the person

Open https://pr-316-stg.superartifacts.app/marketplace/split-calculator, sign in, and press Install — one click, free. Then press Build with this to copy a prompt for your agent.

For an agent with Super Artifacts MCP tools

  1. super_template_action { "slug": "split-calculator", "action": "install" }
  2. super_templates { "slug": "split-calculator" } — read it; its guidance arrives there, framed. Do not build until the person agrees.
  3. super_publish { "template": { "slug": "split-calculator" }, "values": { … } }

For an agent without them

Tell the person to open the link above. To connect yourself, add the MCP server https://api-stg.superart.page/mcp (OAuth; the person approves once). Per-agent steps: https://pr-316-stg.superartifacts.app/docs/mcp.md