Hi Eddie,
It's not as hard as you might think.
To increase by a semitone, you multiply the frequency by 1.06 (actually 1.05946...) and this works for all frequencies. That means that a semitone above 300 would be roughly 317.84
If you're happy with a rough answer to your question, you can calculate the number of cents thus:
cents = 1667*D/F
where D is the difference and F is the frequency from which you want the cents. In this case:
1667*5/300 = 27.8 cents.
The problem is that this is an approximation and gets increasing inaccurate as you go up the scale but may well do for a first approximation.
If you want a more accurate answer, you can do this pretty easily. Open up the Calculator in the Applications folder and do the following:
View > Scientific
305/300
Click on Log
Multiply by 3986
This time, you get 28.6, which is accurate.
The numbers 205 and 300 clearly vary with the calculation you're trying to do but the other "magic" number (3986) doesn't change. This method works equally well for all frequencies. However, in Logic, you can only have integral cents so you'd have to enter 29 not 28.6 and you could end up with beats, particularly if you are using a pure tone such as a sine wave.
Hope that helps!
Pete