After all, there is a
btc to xmr converter where all this can be calculated (in addition, each exchanger should have such a converter, since people usually first calculate how much they will receive when exchanging currency and then decide whether they will make an exchange.