Hello Vishnu, Greetings!
So the general formula for alkanes is C (n) H (2n+2) where n takes any integer value.
Therefore, the most common alkane , which is Methane, having one carbon and therefore 4 hydrogens and hence the molecular formula for Methane is CH4.
Similarly for Ethane, the molecular formula is C2H6 and so on.
I hope you are now clear with the general formula of alkanes .
Feel free to ask any more queries that trouble you.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile