The rate and the base
Etsy charges 6.5% of the total order amount in your listing currency. Its help article uses that phrase and then spells it out: the transaction fee applies to shipping and gift wrapping as well as the item.
A $45 item with $5 postage is charged on $50, so the fee is $3.25 rather than $2.93. On a heavy item with expensive postage the difference grows quickly, and it is the most common reason a seller's own arithmetic comes out lower than Etsy's.
Four sales, one fee
$10 item: $0.65 of transaction fee.
$45 item: $2.93.
$50 order ($45 plus $5 shipping): $3.25.
$200 item: $13.00.
The fee rises in a straight line, which makes it the easiest of Etsy's charges to predict. Everything else on the invoice has a flat component that behaves worse at small sizes.
It is not the whole cost
Payment processing adds 3% plus $0.25 in the US, and the listing fee took 20 cents before the sale. Add those and a $45 item pays $4.73, which is 10.5% of the sale rather than 6.5%.
This is why quoting the transaction fee alone is a bad way to price. It is a real number and it is the largest single percentage Etsy charges, but the pile underneath it is what makes small orders unprofitable.
When the fee is charged
The transaction fee lands when the order is paid, together with payment processing. Etsy deducts both from the order total before depositing, so what reaches your bank account is already net.
Listing fees behave differently: charged at listing time, and again on auto-renew, whether or not anything sells. They show up as a separate line on the monthly statement, which is where sellers notice them for the first time.
Refunds, and why we stay quiet about them
Our calculator does not model refunds. Etsy's treatment depends on whether the order is cancelled before or after it ships, and on whether the refund is partial. Getting that wrong in a calculator would be worse than leaving it out, so the number you see is the fee on a completed sale.
The transaction fee is the only one of the three that scales with the order total, so it is also the one that changes most when a price changes. Ten dollars on the price moves the fee by 65 cents. Ten dollars on the item cost moves nothing.