user19338: These days transactions are taking a very long time to confirm. Higher transaction fees could be a possible solution. I want to know how to calculate a reasonable transaction fee, which is not so expensive and results in less time until confirmation (within 10-15min). Could you advice me on how to implement it?

user26481: See https://bitcoinfees.21.co/ for mempool size and tx fee. This will suggest fee in satoshi/byte depending on current network conditions.
If you are looking to exact fee in BTC for spending from wallet, you can try  https://github.com/shivaenigma/btxfees. 

19338: <p>These days transactions are taking a very long time to confirm. Higher transaction fees could be a possible solution. I want to know how to calculate a reasonable transaction fee, which is not so expensive and results in less time until confirmation (within 10-15min). Could you advice me on how to implement it?</p>
 26481: <p>See <a href="https://bitcoinfees.21.co/">https://bitcoinfees.21.co/</a> for mempool size and tx fee. This will suggest fee in satoshi/byte depending on current network conditions.</p>

<p>If you are looking to exact fee in BTC for spending from wallet, you can try  <a href="https://github.com/shivaenigma/btxfees">https://github.com/shivaenigma/btxfees</a>. </p>
