Most Motorola systems for VHF/UHF have an offset of 380.
The formula is simple enough. For a channel number "C", base frequency "B", channel number offset "O", and channel step size "S" (also called channel spacing), the formula for the channel frequency F is ...
F = B + S * (C - O)
Here's an example:
Federal Detention Center Houston Trunking System, Houston, Texas - Scanner Frequencies
Base 407.00000 Mhz
Spacing 12.5 Khz
Offset 380
The above site has control channels 407.41250, 408.45000, 409.41250, 410.21250.
The channel number for 407.4125 is 413.
The channel number for 410.2125 is 637.
Given just this limited information, you can calculate the step size.
S = (F2 - F1) / (C2 - C1)
(410.2125 - 407.4125) / (637 - 413) = 2.800 / 224 = 12.5 khz.
Given a channel step of 12.5 khz and an offset of 380,
F = B + S * (C - O) = B + 12.5 khz * (413 - 380) = B + 12.5 khz * 33 = 412.5khz.
We know the frequency for channel number 413 is 407.4125 Mhz so ...
407.4125 Mhz = B + 0.4125 Mhz
Algebra tells us ...
B = 407.4125 Mhz - 0.4125 Mhz = 407 Mhz
You can work this all out in a few minutes in a spreadsheet like Calc or Excel.
Life gets a bit more complicated when the site uses more than band plan one entry.