As per ICDS amount of tax shall be included in the value of stock irrespective of input tax credit available. - For income tax act. Provided it is included in closing stock .
For GST cost is not calculated separately, amount which is shown in the books of accounts is value of cost .