<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:com="http://www.sec.gov/edgar/common">
  <headerData>
    <submissionType>144</submissionType>
    <filerInfo>
      <filer>
        <filerCredentials>
          <cik>0001071351</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>


    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0001597313</issuerCik>
      <issuerName>ViewRay, Inc.</issuerName>
      <secFileNumber>001-37725</secFileNumber>
      <issuerAddress>
        <com:street1>2 THERMO FISHER WAY</com:street1>
        <com:city>OAKWOOD VILLAGE</com:city>
        <com:stateOrCountry>OH</com:stateOrCountry>
        <com:zipCode>44146</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>440-703-3210</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>EBRAHIMI FARHAD FRED</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>10% Stockholder</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Fidelity Brokerage Services LLC</name>
        <address>
          <com:street1>245 summer street</com:street1>
          <com:city>boston</com:city>
          <com:stateOrCountry>MA</com:stateOrCountry>
          <com:zipCode>02110</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>7899190</noOfUnitsSold>
      <aggregateMarketValue>286740.59</aggregateMarketValue>
      <noOfUnitsOutstanding>183402038</noOfUnitsOutstanding>
      <approxSaleDate>07/24/2023</approxSaleDate>
      <securitiesExchangeName>nasdaq</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>08/16/2022</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>3698</amountOfSecuritiesAcquired>
      <paymentDate>08/16/2022</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>08/17/2022</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>96302</amountOfSecuritiesAcquired>
      <paymentDate>08/17/2022</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>08/18/2022</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>67045</amountOfSecuritiesAcquired>
      <paymentDate>08/18/2022</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>08/19/2022</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>237655</amountOfSecuritiesAcquired>
      <paymentDate>08/19/2022</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>08/22/2022</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>50000</amountOfSecuritiesAcquired>
      <paymentDate>08/22/2022</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>09/13/2022</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>255100</amountOfSecuritiesAcquired>
      <paymentDate>09/13/2022</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>09/16/2022</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>44900</amountOfSecuritiesAcquired>
      <paymentDate>09/16/2022</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>03/10/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>57500</amountOfSecuritiesAcquired>
      <paymentDate>03/10/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>03/13/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>29900</amountOfSecuritiesAcquired>
      <paymentDate>03/13/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>03/14/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>43000</amountOfSecuritiesAcquired>
      <paymentDate>03/14/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>03/15/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>292400</amountOfSecuritiesAcquired>
      <paymentDate>03/15/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>03/17/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>760300</amountOfSecuritiesAcquired>
      <paymentDate>03/17/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>03/20/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>5000</amountOfSecuritiesAcquired>
      <paymentDate>03/20/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>03/22/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>53200</amountOfSecuritiesAcquired>
      <paymentDate>03/22/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>03/23/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>14700</amountOfSecuritiesAcquired>
      <paymentDate>03/23/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>03/27/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>29000</amountOfSecuritiesAcquired>
      <paymentDate>03/27/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>03/29/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>6600</amountOfSecuritiesAcquired>
      <paymentDate>03/29/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>04/06/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>16900</amountOfSecuritiesAcquired>
      <paymentDate>04/06/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>04/10/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>34100</amountOfSecuritiesAcquired>
      <paymentDate>04/10/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>04/13/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>2820290</amountOfSecuritiesAcquired>
      <paymentDate>04/13/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>04/14/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>510100</amountOfSecuritiesAcquired>
      <paymentDate>04/14/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>04/17/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>664500</amountOfSecuritiesAcquired>
      <paymentDate>04/17/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>04/18/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>431000</amountOfSecuritiesAcquired>
      <paymentDate>04/18/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>04/19/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>288000</amountOfSecuritiesAcquired>
      <paymentDate>04/19/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>05/11/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>1400</amountOfSecuritiesAcquired>
      <paymentDate>05/11/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>05/24/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>27700</amountOfSecuritiesAcquired>
      <paymentDate>05/24/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>05/31/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>308600</amountOfSecuritiesAcquired>
      <paymentDate>05/31/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>06/16/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>269300</amountOfSecuritiesAcquired>
      <paymentDate>06/16/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>06/21/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>363800</amountOfSecuritiesAcquired>
      <paymentDate>06/21/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>06/28/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>156200</amountOfSecuritiesAcquired>
      <paymentDate>06/28/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>common</securitiesClassTitle>
      <acquiredDate>07/19/2023</acquiredDate>
      <natureOfAcquisitionTransaction>PUT Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Market</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>98500</amountOfSecuritiesAcquired>
      <paymentDate>07/19/2023</paymentDate>
      <natureOfPayment>Cash/Check</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>FARHAD FRED EBRAHMI</name>
        <address>
          <com:street1>1099 18th Street, Suite 3000</com:street1>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>VIEWRAY, INC.</securitiesClassTitle>
      <saleDate>07/20/2023</saleDate>
      <amountOfSecuritiesSold>122500</amountOfSecuritiesSold>
      <grossProceeds>7554.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>FARHAD FRED EBRAHMI</name>
        <address>
          <com:street1>1099 18th Street, Suite 3000</com:street1>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>VIEWRAY, INC.</securitiesClassTitle>
      <saleDate>07/20/2023</saleDate>
      <amountOfSecuritiesSold>417500</amountOfSecuritiesSold>
      <grossProceeds>25744.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>FARHAD FRED EBRAHMI</name>
        <address>
          <com:street1>1099 18th Street, Suite 3000</com:street1>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>VIEWRAY, INC.</securitiesClassTitle>
      <saleDate>07/20/2023</saleDate>
      <amountOfSecuritiesSold>322500</amountOfSecuritiesSold>
      <grossProceeds>19886.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>FARHAD FRED EBRAHMI</name>
        <address>
          <com:street1>1099 18th Street, Suite 3000,</com:street1>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>VIEWRAY, INC.</securitiesClassTitle>
      <saleDate>07/20/2023</saleDate>
      <amountOfSecuritiesSold>3886848</amountOfSecuritiesSold>
      <grossProceeds>239674.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>FARHAD FRED EBRAHMI</name>
        <address>
          <com:street1>1099 18th Street, Suite 3000</com:street1>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>VIEWRAY, INC.</securitiesClassTitle>
      <saleDate>07/20/2023</saleDate>
      <amountOfSecuritiesSold>1852262</amountOfSecuritiesSold>
      <grossProceeds>114216.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>FARHAD FRED EBRAHMI</name>
        <address>
          <com:street1>1099 18th Street, Suite 3000</com:street1>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>VIEWRAY, INC.</securitiesClassTitle>
      <saleDate>07/21/2023</saleDate>
      <amountOfSecuritiesSold>3302038</amountOfSecuritiesSold>
      <grossProceeds>173610.30</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>FARHAD FRED EBRAHMI</name>
        <address>
          <com:street1>1099 18th Street, Suite 3000,</com:street1>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>VIEWRAY, INC.</securitiesClassTitle>
      <saleDate>07/17/2023</saleDate>
      <amountOfSecuritiesSold>455300</amountOfSecuritiesSold>
      <grossProceeds>682950.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>FARHAD FRED EBRAHMI</name>
        <address>
          <com:street1>1099 18th Street, Suite 3000,</com:street1>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>VIEWRAY, INC.</securitiesClassTitle>
      <saleDate>07/19/2023</saleDate>
      <amountOfSecuritiesSold>348330</amountOfSecuritiesSold>
      <grossProceeds>815400.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>FARHAD FRED EBRAHMI</name>
        <address>
          <com:street1>1099 18th Street, Suite 3000</com:street1>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>VIEWRAY, INC.</securitiesClassTitle>
      <saleDate>07/19/2023</saleDate>
      <amountOfSecuritiesSold>102300</amountOfSecuritiesSold>
      <grossProceeds>358050.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>FARHAD FRED EBRAHMI</name>
        <address>
          <com:street1>1099 18th Street, Suite 3000,</com:street1>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>VIEWRAY, INC.</securitiesClassTitle>
      <saleDate>07/17/2023</saleDate>
      <amountOfSecuritiesSold>41000</amountOfSecuritiesSold>
      <grossProceeds>61500.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>FARHAD FRED EBRAHMI</name>
        <address>
          <com:street1>1099 18th Street, Suite 3000,,</com:street1>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>VIEWRAY, INC.</securitiesClassTitle>
      <saleDate>07/18/2023</saleDate>
      <amountOfSecuritiesSold>49800</amountOfSecuritiesSold>
      <grossProceeds>74700.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>FARHAD FRED EBRAHMI</name>
        <address>
          <com:street1>1099 18th Street, Suite 3000</com:street1>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>VIEWRAY, INC.</securitiesClassTitle>
      <saleDate>07/20/2023</saleDate>
      <amountOfSecuritiesSold>100000</amountOfSecuritiesSold>
      <grossProceeds>6000.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>FARHAD FRED EBRAHMI</name>
        <address>
          <com:street1>1099 18th Street, Suite 3000</com:street1>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>VIEWRAY, INC.</securitiesClassTitle>
      <saleDate>07/20/2023</saleDate>
      <amountOfSecuritiesSold>100000</amountOfSecuritiesSold>
      <grossProceeds>6000.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>FARHAD FRED EBRAHMI</name>
        <address>
          <com:street1>1099 18th Street, Suite 3000</com:street1>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>VIEWRAY, INC.</securitiesClassTitle>
      <saleDate>07/20/2023</saleDate>
      <amountOfSecuritiesSold>2000</amountOfSecuritiesSold>
      <grossProceeds>120.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>FARHAD FRED EBRAHMI</name>
        <address>
          <com:street1>1099 18th Street, Suite 3000,</com:street1>
          <com:city>Denver</com:city>
          <com:stateOrCountry>CO</com:stateOrCountry>
          <com:zipCode>80202</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>VIEWRAY, INC.</securitiesClassTitle>
      <saleDate>07/20/2023</saleDate>
      <amountOfSecuritiesSold>1400000</amountOfSecuritiesSold>
      <grossProceeds>84000.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <remarks>Shares sold for the following accounts 582,500 shares from MARY WILKIE EBRAHIMI TTEE ELSTEAD 2020 GRAT U/A 11/30/20. 382,000 shares from MARY WILKIE EBRAHIMI TTEE HAVANA 2020 GRAT U/A 11/30/20. 3,708,200 shares from CRESCENT RIVER LLC C/O SEEMORGH INVESTMENTS INC. 2,948,900 shares from SHIRAZ CAPITAL LLC. HUGHES 277,500 shares from INFINITY TRUSTS INVESTMENT LLCA PARTNERSHIP BRADFORD C NELSON</remarks>
    <noticeSignature>
      <noticeDate>07/25/2023</noticeDate>
      <signature>/s/ Audrey Skillern as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Farhad Fred Ebrahmi</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 28303}]
144
0001071351
XXXXXXXX
LIVE
0001597313
ViewRay, Inc.
001-37725
2 THERMO FISHER WAY
OAKWOOD VILLAGE
OH
44146
440-703-3210
EBRAHIMI FARHAD FRED
10% Stockholder
Common
Fidelity Brokerage Services LLC
245 summer street
boston
MA
02110
7899190
286740.59
183402038
07/24/2023
nasdaq
common
08/16/2022
PUT Option Exercise
Market
N
3698
08/16/2022
Cash/Check
common
08/17/2022
PUT Option Exercise
Market
N
96302
08/17/2022
Cash/Check
common
08/18/2022
PUT Option Exercise
Market
N
67045
08/18/2022
Cash/Check
common
08/19/2022
PUT Option Exercise
Market
N
237655
08/19/2022
Cash/Check
common
08/22/2022
PUT Option Exercise
Market
N
50000
08/22/2022
Cash/Check
common
09/13/2022
PUT Option Exercise
Market
N
255100
09/13/2022
Cash/Check
common
09/16/2022
PUT Option Exercise
Market
N
44900
09/16/2022
Cash/Check
common
03/10/2023
PUT Option Exercise
Market
N
57500
03/10/2023
Cash/Check
common
03/13/2023
PUT Option Exercise
Market
N
29900
03/13/2023
Cash/Check
common
03/14/2023
PUT Option Exercise
Market
N
43000
03/14/2023
Cash/Check
common
03/15/2023
PUT Option Exercise
Market
N
292400
03/15/2023
Cash/Check
common
03/17/2023
PUT Option Exercise
Market
N
760300
03/17/2023
Cash/Check
common
03/20/2023
PUT Option Exercise
Market
N
5000
03/20/2023
Cash/Check
common
03/22/2023
PUT Option Exercise
Market
N
53200
03/22/2023
Cash/Check
common
03/23/2023
PUT Option Exercise
Market
N
14700
03/23/2023
Cash/Check
common
03/27/2023
PUT Option Exercise
Market
N
29000
03/27/2023
Cash/Check
common
03/29/2023
PUT Option Exercise
Market
N
6600
03/29/2023
Cash/Check
common
04/06/2023
PUT Option Exercise
Market
N
16900
04/06/2023
Cash/Check
common
04/10/2023
PUT Option Exercise
Market
N
34100
04/10/2023
Cash/Check
common
04/13/2023
PUT Option Exercise
Market
N
2820290
04/13/2023
Cash/Check
common
04/14/2023
PUT Option Exercise
Market
N
510100
04/14/2023
Cash/Check
common
04/17/2023
PUT Option Exercise
Market
N
664500
04/17/2023
Cash/Check
common
04/18/2023
PUT Option Exercise
Market
N
431000
04/18/2023
Cash/Check
common
04/19/2023
PUT Option Exercise
Market
N
288000
04/19/2023
Cash/Check
common
05/11/2023
PUT Option Exercise
Market
N
1400
05/11/2023
Cash/Check
common
05/24/2023
PUT Option Exercise
Market
N
27700
05/24/2023
Cash/Check
common
05/31/2023
PUT Option Exercise
Market
N
308600
05/31/2023
Cash/Check
common
06/16/2023
PUT Option Exercise
Market
N
269300
06/16/2023
Cash/Check
common
06/21/2023
PUT Option Exercise
Market
N
363800
06/21/2023
Cash/Check
common
06/28/2023
PUT Option Exercise
Market
N
156200
06/28/2023
Cash/Check
common
07/19/2023
PUT Option Exercise
Market
N
98500
07/19/2023
Cash/Check
N
FARHAD FRED EBRAHMI
1099 18th Street, Suite 3000
Denver
CO
80202
VIEWRAY, INC.
07/20/2023
122500
7554.00
FARHAD FRED EBRAHMI
1099 18th Street, Suite 3000
Denver
CO
80202
VIEWRAY, INC.
07/20/2023
417500
25744.00
FARHAD FRED EBRAHMI
1099 18th Street, Suite 3000
Denver
CO
80202
VIEWRAY, INC.
07/20/2023
322500
19886.00
FARHAD FRED EBRAHMI
1099 18th Street, Suite 3000,
Denver
CO
80202
VIEWRAY, INC.
07/20/2023
3886848
239674.00
FARHAD FRED EBRAHMI
1099 18th Street, Suite 3000
Denver
CO
80202
VIEWRAY, INC.
07/20/2023
1852262
114216.00
FARHAD FRED EBRAHMI
1099 18th Street, Suite 3000
Denver
CO
80202
VIEWRAY, INC.
07/21/2023
3302038
173610.30
FARHAD FRED EBRAHMI
1099 18th Street, Suite 3000,
Denver
CO
80202
VIEWRAY, INC.
07/17/2023
455300
682950.00
FARHAD FRED EBRAHMI
1099 18th Street, Suite 3000,
Denver
CO
80202
VIEWRAY, INC.
07/19/2023
348330
815400.00
FARHAD FRED EBRAHMI
1099 18th Street, Suite 3000
Denver
CO
80202
VIEWRAY, INC.
07/19/2023
102300
358050.00
FARHAD FRED EBRAHMI
1099 18th Street, Suite 3000,
Denver
CO
80202
VIEWRAY, INC.
07/17/2023
41000
61500.00
FARHAD FRED EBRAHMI
1099 18th Street, Suite 3000,,
Denver
CO
80202
VIEWRAY, INC.
07/18/2023
49800
74700.00
FARHAD FRED EBRAHMI
1099 18th Street, Suite 3000
Denver
CO
80202
VIEWRAY, INC.
07/20/2023
100000
6000.00
FARHAD FRED EBRAHMI
1099 18th Street, Suite 3000
Denver
CO
80202
VIEWRAY, INC.
07/20/2023
100000
6000.00
FARHAD FRED EBRAHMI
1099 18th Street, Suite 3000
Denver
CO
80202
VIEWRAY, INC.
07/20/2023
2000
120.00
FARHAD FRED EBRAHMI
1099 18th Street, Suite 3000,
Denver
CO
80202
VIEWRAY, INC.
07/20/2023
1400000
84000.00
Shares sold for the following accounts 582,500 shares from MARY WILKIE EBRAHIMI TTEE ELSTEAD 2020 GRAT U/A 11/30/20. 382,000 shares from MARY WILKIE EBRAHIMI TTEE HAVANA 2020 GRAT U/A 11/30/20. 3,708,200 shares from CRESCENT RIVER LLC C/O SEEMORGH INVESTMENTS INC. 2,948,900 shares from SHIRAZ CAPITAL LLC. HUGHES 277,500 shares from INFINITY TRUSTS INVESTMENT LLCA PARTNERSHIP BRADFORD C NELSON
07/25/2023
/s/ Audrey Skillern as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Farhad Fred Ebrahmi