I've heard 1/4" per foot and I've also heard 1/8" per foot is acceptable for waste lines. What is the ideal slope? Does it depend on pipe size or fixture type? (i.e. toilet vs sink)

Thanks!