I am not sure your 1 ton of input for 1 ton of output holds up. Yes, it is 1 ton for 1 ton, but it is not equal in value. You could have 1 ton of input of raw materials at 5,000Cr/ton and an output of 50,000Cr per ton. Or 10,000Cr per ton of input and 11,000Cr per ton of output. On average it comes out to output is worth roughly double the Credits of the input. This may change your calculations.
Edit - Also, remember that 1 ton of raw ore becomes 0.5 tons of refined materials.
These are rough numbers
0.25 tons of Common Raw Materials = 1,250Cr
0.15 tons of Uncommon Raw Materials = 3,000Cr
0.075 tons of Crystals & Gems = 1,500Cr
0.025 tons of Precious Metals = 1,250Cr.
0.5 tons of total materials = 7,000Cr
So, 1 ton of materials after Refining and Smelting is worth roughly 14,000Cr per ton.
That means that each ton of these raw materials can produce between 15,400Cr to 26,600Cr per ton.
Although strangely, if you fail your broker roll to buy the raw materials and end up paying more money per ton, then the amount of profit per ton increases, becasue you failed your Broker roll so badly... lolz. This is how you fail upward in Traveller. lol