How to calculate transaction fees before initating/sending/broadcasting any transaction


How to get transaction fees before sending to any address ?

Using create & fund its giving estimated fees but its not the same which qt is providing even in createrawtransaction input is given which is required for the amount which I am trying to transfer.