Yarn yardage for self design pattern

Is there a way to figure a yarn yardage for a self designed pattern? if so how does one figure it? I have designed a scarf and I am not sure if I will have enough yarn to make it long enough.

Here’s a chart that might help.

You can look at patterns that are constructed similarly with the same gauge to see what yardage is used for them.

Thanks for the sugestions. I am thinking about redesign it again. Some of the stitch patterns doesn’t stand out like I would like them too.