Steve said it well
Take your width of your layout, subtract 4" (2" on each side of the layout so the tracks are not on the edge if the board, you dont want them falling off the layout....), and then divide by 2.
You can also multiply the radius if you have to have a minimum for longer equipment. Say you need a minimum of 22" radius, multiply this by 2 and add 4", you get 48" (this includes 2" of clearance of each side of the table)
im not all that familiar with N scale, I model intermodal in HO scale, but dash 9's and intermodal double stacks, 89' piggy back flats...... require large radius.
Sometimes on the Manufacture's web site they will say the minimum radius required for longer rolling stock and long 6-axle locos. Im no expert in N scale, but if you are running intermodal trains, i would do the largest possible radius you could possibly do for smooth running. Not only will you have less problems, it will also look much better when those long trains are running around the broad curves.....
If you can do a 48" space for your train to turn around, i think you would be much better off, this would give you a radius of 22" in N scale, and for N scale, that is a very nice and large radius.... I would suggest going for that, with a 22" radius in N scale you wont have to worry about how long of cars you run and if they will be able to navigate the turns well.
Hope this helps