You missed the 8000 $ for the autopilot, so your formula and calculus are false.
The airplane might cost 2 millions or less (see post #26), and the Idea behind it is to overcome any number of attacking aircrafts (at least 10 to 20 for one) with stealthy aircrafts,; if an F-22 costs 200 million$, Iran can produce 100 Qaher-313 for that price or 40 to 50 for the price of an F-35, although restricted to the middle east, its all what Iran needs as a value plus air defence deterrent.
Scary if one imagines a swarm of these fighter jets roaming Iranian skies and the Persian gulf in addition to the drones, the other fighter jets and the all altitudes air defence systems, all this in an integrated air defence and counter attack system, plus all the the ballistic missiles, the cruise missiles, and surface to surface missiles.
It looks like fiber glass to untrained eyes, but what do you know about carbon fiber witch is as strong as steal.
So, according to your false calculus, all in all it will cost 12 Gs forgetting the engine, so let us say 112 Gs , so think about what systems it will have for Between 1 and 2 million dollars.
To give you a hint, there are very small AESA radars on the market today, that can be used for take off and landing, illuminating targets, shut off and change course before the attack, so it will be stealthy and efficient at a low cost and high sophistication, it is in my opinion, the ultimate in optimisation, which is a fate on its own.