Theory:

We can calculate the compound interest easily by using formula. But those formula differs from the method of using compound interest in real life. Now we will take a look at those types to understand the compound interest more clear.
Whatever the question is, first calculate the amount of respective year at a particular rate of interest and principal then using the amount we can easily calculate the compound interest.
Type 1)
  
General formula:
 
To find the compound interest and the amount, we can use the following formula.
 
Step 1: First the find amount.
 
Amount \(A\) =P(1+r100)n
 
Here \(A\) be the amount, \(r\) be the rate of interest per annum and \(n\) be the time period.
 
Step 2: Now using this value of amount, we can determine the compound interest \(C.I\) .
 
Compound interest (\(C.I\)) \(=\) Amount (\(A\)) \(–\) Principle (\(P\))
 
We can also use alternative formula by combining the both formula above that is,
 
C.I=APC.I=(P(1+r100)n)P
 
Commonly taking out the \(P\), then we will get,
 
Compound interest \(C.I\) =P{(1+r100)n1}
 
Type 2)
Method to the amount and the compound interest when compounded annually or half yearly or quarterly.
Case 1)  
To find the amount and the compound interest when compounded annually.
If \(A\) be the amount, \(P\) be the principal, \(r\) be the rate of interest per annum and \(n\) be the time period.
 
We can use the following formula for this condition that is,
 
Amount \(A\) =P(1+r100)n
 
Or we can use below formula to find the \(C.I\)
 
C.I=P{(1+r100)n1}
 
Case 2)  
To find the amount and the compound interest when compounded half - yearly.
If \(A\) be the amount, \(P\) be the principal, \(r\) be the rate of interest per annum and \(n\) be the time period.
 
We can use the following formula for this condition that is,
 
Amount \(A\) =P(1+r200)2n
 
And \(C.I\) will be \(=\) \(A – P\)
 
Or we can use below formula to find \(C.I\)
 
C.I=P{(1+r200)2n1}
 
Case 3)
To find the amount and the compound interest when compounded quarterly.
If \(A\) be the amount, \(P\) be the principal, \(r\) be the rate of interest per annum and \(n\) be the time period.
 
We can use the following formula for this condition that is,
 
Amount \(A\) =P(1+r400)4n
 
And \(C.I\) will be, \(C.I = A – P\)
 
Or we can use below formula to find \(C.I\)
 
C.I=P{(1+r400)4n1}
 
Type 3)  
To find the amount when the interest is compounded annually but rate of interest differs year by year.
If \(A\) be the amount, \(P\) be the principal, \(r1, r2, r3\) be the interest rates for first, second and third consecutive years per annum and \(n\) be the time period.
 
We can use the following formula for this condition that is,
 
Amount at the end of the \(n\) years A=P(1+r1100)(1+r2100)(1+r3100).......(1+rn100)
 
Type 4)
 
Calculation of the amount when interest is compounded annually but time being a fraction.
 
If \(A\) be the amount, \(P\) be the principal, \(r\) be the rate of interest per annum and \(n =\) abc years be the time period.
 
Therefore the formula will be:
Amount at the end of the \(n\) years \(A\) =P(1+r100)a(1+r×bc100)