A valve (1, 2, 3, 4) for a respiratory device is disclosed. The valve includes a valve housing (10, 20, 30 ,40) having an inlet (11, 21, 31, 41) and an outlet (12, 22, 32, 42). The valve further includes a tubular flow channel (18, 28) arranged in the valve housing and thereby forming a chamber (15, 25) between an inner surface of the valve housing and an outer surface (16, 26) of the tubular flow channel. One end of the tubular flow channel is the inlet and an edge at the other end of the tubular flow channel is configured as a valve seat (17, 27). In this way, a fluid flow from the inlet flows through the tubular flow channel and over the valve seat into the chamber. The outlet has an outlet housing and the outlet is arranged perpendicular to the inlet. The outlet of the valve has a non-circular shape.