Yeah, there are oodles of tables available, online or in animal-husbandry books, of the alleged protein/P/Ca/etc contents of various grains and hays.... HOWEVER the variation in real life analyses of actual supplies of grains or hays can be fairly far afield from the book values. (Particularly in comparison to the level of exactness required to make a balanced ration.) It varies with region, year, variety, growing conditions, harvesting conditions, exact time/stage of harvest, storage conditions, etc.
So really really the best thing is to have some LAB values for the PARTICULAR grains/hays/whatever that you're contemplating feeding. Or if an analysis is not available on the actual literal batch you're going to feed, at least ask around locally to find out what numbers typically come back for that type feed in your area, and what this year is expected to be like. My wheat ain't like your wheat; this year's hay from my back field ain't like last year's hay from my back field; you know?
Otherwise honestly I think there is no point in putting a lot of energy into doing major amounts of math when your numbers are so fuzzy to begin with. Just pick a general-purpose recipe that people have often had success with in the past, preferably in your region, and go for it.
(aside: goodhors, I know the thing about oats going straight through horses is "conventional wisdom" but research has not borne it out; oats are actually one of the *most* easily digested and assimilated grains for horses, with little if any difference between the digestibility of whole vs crimped oats. The "oats" you see in the manure are nearly all just the empty HULLS which were not intended to provide any food value anyhow. Oats do provide fewer calories per weight fed than do some other feeds such as corn, but that is not because the oats are just going thru the horse, it's simply because they are a lower-fat and thus lower-energy grain to begin with)
Pat