Hard to say, depends from person to person, and the effects are very different. I will rarely take under 240mg codeine recreationally since under that it does just about diddly squat to me, and even 360mg is a pretty moderate dose.
300mg tramadol is WAY more euphoric in every way, shape and form than 300mg codeine. I would say 300mg codeine makes me feel similar, intensity-wise, to about 150-200mg tramadol. Tramadol is much longer-lasting, though, is less itchy and nauseous for me, is a little stimulating, and provides much more of a mood lift as opposed to a dreamy noddy state.
I prefer tramadol by a country mile.