I just want to know the damage forumula with STAB.
That is the full damage formula
The modifier is calculated as;
So the STAB is part of the modifier. The value of STAB will be 1.5, and if your Pokemon has th ability Adaptability the STAB Modifier will be 2