About this lcm calculator
The least common multiple is the smallest number every input divides into evenly. Take each prime to its highest power across the factorizations: 12 = 2² × 3 and 18 = 2 × 3², so the LCM is 2² × 3² = 36. It is what you need for a common denominator when adding fractions.