Payment fee total USD โ local calculator
Single-purpose local calculator: Payment fee total USD. Public formula: captured_amount_usd*processor_percent/100+transaction_count*fixed_transaction_fee_usd. Includes editable input, CSV measurement register, synthetic worked example and validation checklist. No online service.
Python 3.10+ locally; no paid libraries. A small single-purpose calculator, not a complete business platform. English workbook/code; Russian quickstart.
49 XTR
- README.md
- formula.md
- workbook.md
- QUICKSTART-RU.md
- worksheet.csv
- tool.py
- example-input.json
- example-output.json
- acceptance-checklist.md
- LICENSE.txt
Prices in Telegram Stars (XTR). Income and customer results are not guaranteed.
Formula / input / worked example (English)
# Payment fee total USD
`captured_amount_usd*processor_percent/100+transaction_count*fixed_transaction_fee_usd`
Input semantics and units:
- `captured_amount_usd`: numeric input; units are part of the field name where applicable.
- `fixed_transaction_fee_usd`: numeric input; units are part of the field name where applicable.
- `processor_percent`: numeric input; units are part of the field name where applicable.
- `transaction_count`: numeric input; units are part of the field name where applicable.
Result uses the unit stated in the product title, or a dimensionless ratio. Check cohort membership and aggregation boundaries independently.
example-input.json
{
"captured_amount_usd": 12.0,
"fixed_transaction_fee_usd": 15.0,
"processor_percent": 20.0,
"transaction_count": 21.0
}
example-output.json
{
"product_id": "commerce-payment-fee",
"result": 317.4,
"scope": "Arithmetic estimate from supplied inputs; no forecast or service"
}