Enter whole numbers to calculate both their GCD and their LCM.
Enable JavaScript to use this tool in your browser.