Normally in Magento 2 cart page show subtotal. But I would like to get subtotal after deducting discount if any cart rules applied or coupon code applied to any product.
You can get the final row total of the item in the cart by this code
echo $_item->getRowTotal() - $_item->getDiscountAmount();
where the $_item is the Cart Quote Item
With taxes and rounding penny issue: