A new motor can be reckoned at $100/hp, as rule of thumb.
A really great used one could probably be expected to do 75% of that, + or - .
If it needs work but is sound, I'd say 50%, give or take.
If it is a gasping dog that doesn't run, well, plan on 25% or less.
Would you tell me where I can...