This is how I cut the shelf. All measurements were so that I could use materials that I were readily available to me. Modify to suit your needs.