This is where \tfrac{}{} and \dfrac{}{} can also help. \tfrac{}{}, Text Fraction, means to make it small, like inline text, no matter what. \dfrac{}{}, Display fraction, means make it large, like it was a stand alone equation, no matter what.
This line is with \(\frac{1}{2}\) just \frac{}{}
This line is with \(\tfrac{1}{2}\) just \tfrac{}{}
This line is with \(\dfrac{1}{2}\) just \dfrac{}{}
This block is with \[\frac{1}{2}\] just \frac{}{}
This block is with \[\tfrac{1}{2}\] just \tfrac{}{}
This block is with \[\dfrac{1}{2}\] just \dfrac{}{}
Notice that the frac changes if it is inline or in a block, \(\backslash\)[ BLOCK \]. But the dfrac and tfrac do not.