Consider
Sophocles #146 from Burning Shadows sits in borderline territory for grading. Raw copies trade around $8.39 while PSA 10s sell for about $124.99, a 27% Return on Grading. A 9 instead of a 10 would likely wipe out the margin here, so be honest about condition.
Most grading maths asks you to guess your odds of a PSA 10 first. This works backwards from the prices instead and tells you what those odds would have to be.
The number is different on every card. It's how confident you'd need to be that this copy gems before grading pays for itself, so 20% means roughly a 1 in 5 shot and 50% means a coin flip.
Grade it if you rate your copy better than that, leave it raw if you don't.
It assumes a 9 is the worst you'll get. Centering and edge whitening send plenty of modern cards back at 8 or lower, and that's not priced in here, so treat this as the floor of the bar rather than the whole of it. Selling fees aren't counted either.
(cost - PSA 9) ÷ (PSA 10 - PSA 9)
You need at least
a 8-in-10 shot (76%) at a PSA 10 for this to pay off.
A PSA 10 puts you $26.60 ahead. A PSA 9 still sells for $15.50, so a disappointing grade costs you $82.89 rather than everything you put in.
Among the 70 cards in Burning Shadows with PSA 10 sale data, Sophocles ranks 50th for Return on Grading and 48th by PSA 10 price. Of the 19 Rare Ultra cards with PSA 10 sales, it is 19th for Return on Grading. The median PSA 10 in this set sells for $281.47. 44 of the 70 clear a 100% Return on Grading.