Could someone please explain, how to calculate a fee more or less exactly to neither over- nor underpay?
Just see here
https://bitcoinfees.earn.com/ . It show sat/byte. So, just check needed fee for you and then type into necessary field. That's all. System will make everything other by itself.