← Blog

Why I built a Google Sheet that charges eBay's card fee once per order, not once per card

A guest post by Joshua Shepard: use an Order ID, SUMIFS and COUNTIFS in Google Sheets to charge eBay's per-order fee once per checkout, keep sales tax in the fee base but out of net proceeds, and price cards from the median of sold comps.

Guest post by Joshua Shepard. Joshua sells trading cards on eBay part-time and builds spreadsheets to track what he actually keeps. Want to write for Better Sheets too? Here's how guest posts work.

I sell some of my own trading cards on eBay, part-time. The number that used to trip me up was not the sale price. It was the per-order fee.

If you drop that fee onto every sold row, a four-card checkout gets billed four times. I wanted a Google Sheet that could take an Order ID, add up the sale, and charge the fee once. I also wanted sales tax collected to count toward estimated fees, but not toward what I actually keep.

You can build a simpler version of this yourself from the steps below. If you want the finished workbook, I sell it for $12 here: Trading Card Inventory and Profit Tracker.

The fee that does not belong on every row

On U.S. eBay, trading cards currently carry a 13.25% final-value fee on the total amount of the sale, plus a per-order fee of $0.40, or $0.30 if the order is $10 or less. Check the live fee schedule before you rely on a net figure, because eBay can change these numbers.

The 13.25% is calculated per item. The flat fee is not. eBay treats items the same buyer checks out together as one order, so two listings in one checkout get that $0.30 or $0.40 once, not twice. The “total amount of the sale” includes the item price, shipping you charge the buyer, and sales tax. In the United States, eBay usually collects that tax and remits it, so you do not keep it, but it still sits in the fee base. Leave tax out of the fee, and you overstate what you made. Add it into net proceeds, and you overstate it again.

What I type, and what the sheet calculates

I use one row per listing or per sale event, starting at row 2: A item name, B Status, C sale price (the total for that row), D shipping charged, E shipping cost, F sales tax collected, G Order ID, H Qty sold, I quantity on the row, J cost each, K date listed, and L date sold. Estimated fees, net proceeds, cost total, and days to sell land in M, N, O, and Q.

If I sell only some copies from a multi-quantity row, I split the leftovers onto a new In stock or Listed row first. Qty sold on the Sold row should match the copies in that sale. Cost total on a Sold row is Qty sold times cost each, not the original quantity times cost:

=IF(A2="","",ROUND(IF(B2="Sold",IF(H2="",IF(I2="",0,I2),H2),IF(I2="",0,I2))*IF(J2="",0,J2),2))

Days to sell is the sold date minus the date listed, not the date I acquired the card. Format that column as a number, not a date:

=IF(OR(B2<>"Sold",K2="",L2=""),"",L2-K2)

Give combined checkouts the same Order ID

When several cards sell in one checkout, I type the same Order ID on each of those rows. If a row is its own order, I leave Order ID blank.

First, add up the order. That total is the fee base, and it is also what you test against the $10 cutoff:

=SUMIFS($C$2:$C$50,$G$2:$G$50,G2,$B$2:$B$50,"Sold")+SUMIFS($D$2:$D$50,$G$2:$G$50,G2,$B$2:$B$50,"Sold")+SUMIFS($F$2:$F$50,$G$2:$G$50,G2,$B$2:$B$50,"Sold")

Next, put the flat fee on only one of the rows. An expanding COUNTIFS, locked at the top and open on the current row, counts Sold rows with this Order ID down to here:

=COUNTIFS($G$2:G2,G2,$B$2:B2,"Sold")

When that count equals 1, this row carries the per-order fee. Later rows with the same Order ID get zero. COUNTIF can match the Order ID by itself, but COUNTIFS also requires Status to be Sold, so a typo on an unsold row cannot steal the fee.

Estimated fees on a sold row then look like this. I keep the 13.25%, $0.40, $0.30, and $10 cutoff in cells I can edit when the rates change. Here they are written in so you can see the math:

=IF(OR(B2<>"Sold",C2=""),"",ROUND((IF(C2="",0,C2)+IF(D2="",0,D2)+IF(F2="",0,F2))*0.1325+IF(G2="",IF((IF(C2="",0,C2)+IF(D2="",0,D2)+IF(F2="",0,F2))<=10,0.3,0.4),IF(COUNTIFS($G$2:G2,G2,$B$2:B2,"Sold")=1,IF((SUMIFS($C$2:$C$50,$G$2:$G$50,G2,$B$2:$B$50,"Sold")+SUMIFS($D$2:$D$50,$G$2:$G$50,G2,$B$2:$B$50,"Sold")+SUMIFS($F$2:$F$50,$G$2:$G$50,G2,$B$2:$B$50,"Sold"))<=10,0.3,0.4),0)),2))

A worked example, with free shipping and no tax: two $8 cards in one checkout. The percentage is 13.25% × $8.00 = $1.06 on each row. The order total is $16.00, so the flat fee is $0.40, once. Correct fees: $2.52. If you add $0.30 to each card because each one is under $10, you would call the fees $2.72 and overstate the cost. Two $5.50 cards are an $11 order, so the flat fee is still $0.40 once, not $0.30 twice. If Order ID is blank, the same formula tests only that row’s own total and charges the flat fee there.

Sales tax belongs in the fee, not in the net

Net proceeds should be cash after fees and shipping, before the cost of the card. Sales tax is already inside estimated fees and does not get added here. Profit is net proceeds minus cost total:

=IF(OR(B2<>"Sold",C2=""),"",ROUND(IF(C2="",0,C2)+IF(D2="",0,D2)-IF(E2="",0,E2)-M2,2))

A single-card example: a $20 raw card with free shipping, an example $0.82 envelope label, and $1.60 of sales tax collected. The fee base is $21.60. 13.25% of that is $2.86, plus the $0.40 per-order fee, or $3.26 in fees. Net proceeds: $20.00 − $3.26 − $0.82 = $15.92. The $1.60 of tax never enters that last line, because you do not keep it.

Price from sold comps, and use the median

I log sold prices only, never asking prices, and I keep raw copies, each grade, and each parallel on separate rows. A raw base card is not a PSA 10.

On a Comps sheet I log a Card ID in column A, the sold date in B, and the sold price in C. On a Pricing sheet, one row per exact version, I take the median of the matching sold prices. In Google Sheets, wrap MEDIAN(IF()) in ARRAYFORMULA so it calculates as an array:

=IF(A2="","",IFERROR(ARRAYFORMULA(MEDIAN(IF((Comps!$A$2:$A$50=A2)*(Comps!$C$2:$C$50>0),Comps!$C$2:$C$50))),""))

Six recent sales at $8, $9, $9, $10, $12, and $18 have an average of $11. The median is $9.50, the midpoint of $9 and $10. One high sale barely moves the median. That is the point.

I also count how many of those comps sold in the last 30 days:

=IF(A2="","",COUNTIFS(Comps!$A$2:$A$50,A2,Comps!$B$2:$B$50,">="&TODAY()-30,Comps!$C$2:$C$50,">0"))

Current listings and a low-to-high ask range can sit nearby as demand context, not as value. I do not let a sheet invent a buy-it-now price. This is a personal tracking method. It is not a licensed appraisal, and it is not tax advice.

A finished workbook, if you want one

You can build all of this in a blank Google Sheet from the formulas above. I got tired of rebuilding it, so I put the same method into a workbook with a Settings sheet for the fee rates, inventory rows, and the Pricing and Comps sheets.

The Trading Card Inventory and Profit Tracker is $12 and works in Excel or Google Sheets.

I also made a $9 Side Hustle Money Tracker and a $7 Selling Fee and Net Profit Calculator. Use them only if they save you time. The method in this post works in a blank sheet either way.

About the author

Joshua Shepard

Joshua sells trading cards on eBay part-time and makes spreadsheet workbooks for sellers, including the Trading Card Inventory and Profit Tracker.

This is a guest post. Read about guest posts on Better Sheets.

Ads keep the free stuff free. Members browse ad-free — log in or see pricing.
Big Year 2027 calendar: the whole year on one Google Sheet

Free 2027 calendar.

Copy it to your Google Drive.

Free. No password, no card. The sheet link shows up right here.