How to calculate gas used for adding one contract in Ethereum blockchain ?

759 viewsEthereumblockchain ethereum gas smartcontract

I have created one simple smart contract . When I want to add it in Ethereum blockchain . Is there any way to calculate how  much gas will be used for the contract ?

Asked question