There are some "rules of thumb"...
The tank should be within 6' of the toilet, 'cuz that's as far as bowl contents will move in the amount of time that 99% of people spend flushing a toilet...much longer than 6' leaves waste sitting in the hose to permeate it with odor.Any toilet that's working anywhere NEAR factory specs can move bowl contents at least 6 linear feet, up to 4 vertical feet, in the dry mode. So any vented loop in the line should be as close to the toilet as possible...to make it possible to push bowl contents over the top of it in the wet OR dry mode...from there gravity can usually do the rest. Vented loops need to be at least 6-8" above the waterline at any angle of heel, btw...which can easily put 'em 3-4' above the toilet discharge. If you're flushing only into a tank, you don't need a vented loop in the head discharge line, but it is a good idea to put a loop (arch) in the line that's high enough to keep tank contents from running back toward the toilet when you're heeled. However, placement of the inlet and vent fittings on the tank can also go a long way to prevent waste from running back toward the toilet or spilling out the vent. If you plumb to dump the tank at sea you will need a vented loop between the overboar discharge pump and the thru-hull.Unless you already have one installed, you'll also need a vented loop in the head intake...not in the intake line between the thru-hull and the pump, though...it has to go between the pump and the bowl--to replace the short piece of hose the toilet mfr used to connect 'em.Before you start this project, or even decide on the tank location, you might want to check out the link below. There's quite a bit of information that will help you spec your system out correctly and install it correctly.