I am only using this preamble for my document:
\documentclass[8pt]{article}
\usepackage{graphicx}
\usepackage[dvipsnames]{xcolor}
\usepackage[margin=10mm]{geometry}
\usepackage{multicol}
\usepackage{amsmath}
The problem is I am doing a formula sheet for my exam and I want to be able to insert many formulas, so I want the font size to be small, 8pt is too big. I tried \small, \footnotesize, \scriptsize and \tiny and they are ok but the problem is that the smaller the font gets, the more the text seems to have been horizontally stretched. It feels like the text is only losing height and not width.

articledoes not support8ptonly10pt,11pt, and12pt. However, do you think, someone would like to read a document in 8pt? – cabohah Jan 10 '24 at 16:45articledoes not support8pt. So your document still uses the default font size10pt. See the link in my first comment. – cabohah Jan 10 '24 at 16:48\usepackage[fontsize=8pt]{scrextend}would reduce the font size. However, depending on the selected size, you would also need a scalable font like\usepackage{lmodern}. But without MWE this is only a guess. – cabohah Jan 10 '24 at 16:55\raggedrightso the line ends when the next word won't fit. The smaller the words, the more fit in one line. – John Kormylo Jan 10 '24 at 19:51