The cost will depend on a couple of things.

What type and year model outboard you have.

Also mentioned before a pressure test will tell you where it is leaking. It could be the prop seals, drive shaft seal or gear change seal. The cost will be determined on how far the box needs to be pulled down and also if you have had water in the box for some time the drive shaft bearing may need to be replaced.