I have the formula for CPI but need a short explanation of formulas for PPI and GNP deflator.

I have a notes for Real GNP which is: Nominal Gross Nat'l Product / Price Index
is this the GNP deflator?

Please HELP (and only answer if you're serious; I don't need any smart alek answers)!