This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/6669/. Also, please do not modify any references to the original work (if any) contained in this content.
We already have calculator for Gaussian elimination on this site, it is here Gaussian elimination. However, it does all calculations with floating point numbers. Sometimes this loses the precision, which could be an issue.
This calculator retains fractions on all calculation stages. So, at the end, it is possible to get result in fraction form - with numerator and denominator. I use "solution vector as fractions" to output it. Top row is numerators, and bottom row is denominators.