https://www.npr.org/2024/05/30/g-s1-2026/trump-guilty-sentence-prison-voting-rights
The charges — for falsifying business records to conceal another crime — carry a maximum sentence of four years in prison, but Trump could receive much less serious punishment, like probation.
Hope that answers your question. I'm not a lawyer or an expert. However in many cases, a sentence of 4 years results in less than 2 served in prison but probation until the end of that period. Getting the max sentence usually only happens when there is a pattern of behavior or increasing criminal behaviors. People getting their fifth theft charge will get a higher sentence than their second for example. This being Trump's first conviction, it is highly likely he will get fines and probation. This is an unprecedented situation though so we will have to see what comes from sentencing on July 11.
One of my favorite stand up bits of all time
https://youtu.be/7nm8CmiiLvg?si=kHm9calTr2Bn0kGy