To answer the OP’s questions
Either a 300 or a 325 will probably be OK, assuming the calculations you’ve done are correct. It doesn’t need to be absolutely perfect – Being 20-30lbs out probably won’t be a problem, and it depends on the terrain and your style of riding anyway.
Frustratingly, some manufacturer’s springs are softer than others’ for a given spring rate, so you never know quite what you’re getting until you try it. If you can find some used springs to try out before you buy, even better. You can always sell them on if they’re not right.
To a certain extent you can adjust sag with preload but it’s not advisable really. Ideally you want just enough preload to hold the spring snugly on the shock and not rattle. You may also be able to adjust compression damping depending on the model of shock you have (Kage R? Kage RC?) but again this is a bit of a hack and shouldn’t really be used to compensate for a wildly-incorrect spring.
The other option is to try it with the 400lbs spring. If you find you’re only using 50-60% of the travel then consider swapping for the 300lbs one. If you’re getting more like 70-80% then perhaps 350lbs would be better for you. Obviously this is just a very rough estimate, and bear in mind that brand new springs can soften slightly in use.