Shares of eyewear maker Warby Parker Inc. are set to begin trading Wednesday morning, in a direct listing that will test the market appeal of the direct-to-consumer brand.

The New York Stock Exchange set a reference price of $40 a share, which is simply a guidepost to where it could open.

At the reference price, Warby Parker, which is unprofitable...

Shares of eyewear maker Warby Parker Inc. are set to begin trading Wednesday morning, in a direct listing that will test the market appeal of the direct-to-consumer brand.

The New York Stock Exchange set a reference price of $40 a share, which is simply a guidepost to where it could open.

At the reference price, Warby Parker, which is unprofitable and on track for about $535 million in revenue this year, would be valued at nearly $5 billion.

Unlike traditional initial public offerings, companies that go public through direct listings take their shares to the stock market without bankers setting an opening price and lining up buyers. Warby Parker is one of several high-profile direct listings this year, following gaming company Roblox Corp. , streaming platform Spotify Technology SA and cryptocurrency exchange Coinbase Global Inc.

In the direct listing, registered stockholders will be able to sell 77.7 million Class A shares, though the company won’t receive any proceeds from those sales.

Warby Parker launched as an online-only brand, before later expanding into physical stores.

Photo: Richard B. Levine/Zuma Press

Co-founders and co-chief executives Neil Blumenthal and David Gilboa said in an interview that their motivation for the listing wasn’t to raise funds but to raise Warby Parker’s public profile and show that companies can be successful while having a positive impact.

“Our motivation is to have a lot of direct positive impact, but also to inspire other businesses and entrepreneurs to think along the same lines,” Mr. Gilboa said. “Being public and being transparent about our business to a broader market is an opportunity to do that.”

The company is one of several planning to enter the public markets this year with a “mission-driven” approach to for-profit business, including shoe brand Allbirds Inc., and food maker Chobani LLC. Warby Parker has helped distribute more than eight million pairs of glasses through its “Buy a Pair, Give a Pair” program.

Nevertheless, potential investors will likely be more focused on the company’s performance. Warby Parker reported $270.5 million in revenue and losses of $20.4 million for the six months ended June 30, according to the company’s filing with the Securities and Exchange Commission. In 2020, the company generated $393.7 million in revenue with a loss of $55.9 million. The eyewear maker reported $370.5 million in revenue and a loss of $57.5 million for 2019.

Warby Parker co-founders Neil Blumenthal and David Gilboa said their direct listing of shares is intended to raise the public profile of the eyeglasses retailer and its mission-driven approach.

Photo: brendan mcdermid/Reuters

Warby Parker was founded in 2010 and sells a selection of eyeglasses, sunglasses, contacts and eyewear accessories. The retailer launched as an online-only brand, before later expanding into physical stores. It had 145 retail stores as of June 30, according to the company’s filing.

Half of Warby Parker’s total sales came from digital channels in the first six months of this year, according to the company’s filing, versus 60% in 2020.

The company has been spending heavily on marketing, with selling, general and administrative expenses accounting for about 70% of revenue. It also faces competition from larger eyewear sellers such as EssilorLuxottica SA, owner of Ray-Ban, LensCrafters and other brands.

Even Warby Parker’s governance structure is linked to its mission, its leaders said. Messrs. Blumenthal and Gilboa will both own supervoting Class B shares that will give them 48% of the company’s voting power when the retailer goes public, according to the SEC filing.

“It will ensure that we live our values every single day and in our path towards achieving our mission,” Mr. Gilboa said. “We don’t expect to use that power to create any decisions that would go against the interests of any of our stakeholders or shareholders.”

Public companies whose founders have supervoting shares are insulated from pressure from other investors. Lyft Inc., Facebook Inc., Google parent Alphabet Inc. and Snap Inc. are among the public companies that established supervoting structures to give their founders control.

Warby Parker raised $245 million from private investors last fall, fetching a $3 billion valuation. The company said in its SEC filing that it had previously sold shares for $24.53 each in private transactions. The brand has raised $572 million in venture capital since 2011, according to FactSet.

Warby Parker will list its shares on the New York Stock Exchange under the ticker symbol WRBY.

Write to Charity L. Scott at Charity.Scott@wsj.com