Nearly 100 CubeSats have been built and launched. CubeSat launch costs depend on units and not on the exact spacecraft mass. There are mass requirements that CubeSats must stay under, however, waivers can be signed to allow for a higher mass cubesat.

A … A TubeSat is a (very) low-cost alternative to the CubeSat, which is currently the leading picosatellite standard. However, launch costs are a different thing altogether. CubeSats sizes range from 0.5U to 27U, with 1U being defined as 10cm x 10cm x 10cm. NASA.gov brings you the latest images, videos and news from America's space agency.
While I have heard of $40K CubeSat launches, most launch providers, including Kosmotras, Eurockot, and ECM do not post their prices online. Get the latest updates on NASA missions, watch NASA TV live, and learn about our quest to reveal the unknown and benefit all humankind. The cost of a CubeSat depends on the mass and size of the CubeSat and launch vehicle being used.
It is not recommended to estimate the dollar per kg price of rockets as that does … Although space is no longer the exclusive realm of nuclear superpowers, it is still very expensive. Space enthusiasts have an opportunity to contribute to NASA’s exploration goals through the next round of the agency’s CubeSat Launch Initiative. (Not all launches were successful.) It can range between on average between 10,000 USD and 500,000 USD. Applicants must submit their proposals electronically by 4:30 p.m. EST, Nov. 24.